(2) Further, I propose that we bless str-utils2's approach to naming
as Official Good Clojure Style. That is: "Prefer good, short names.
Fear not conflicts, nay even with core. Prefer require/as or use/only
over blanket use."
For more discussion on this see Stuart's original thread at [1]
Stu
1. Allows expression threading and point free styles at the same
time.
2. Makes is easier for noobs to learn. This way c.c.s/take has the
same signature as core/take. This way there's nothing else to
explain.
Thoughts?
Sean
On Jan 25, 8:04 am, Stuart Halloway <stuart.hallo...@gmail.com> wrote:
> (1) I propose that clojure.contrib.str-utils2 be preferred over str-
> utils for inclusion in clojure.lib.
>
> (2) Further, I propose that we bless str-utils2's approach to naming
> as Official Good Clojure Style. That is: "Prefer good, short names.
> Fear not conflicts, nay even with core. Prefer require/as or use/only
> over blanket use."
>
> For more discussion on this see Stuart's original thread at [1]
>
> Stu
>
> [1]http://groups.google.com/group/clojure/browse_thread/thread/ca0101f09...
Not having the arg signatures match the corresponding sequence
functions was definitely a mistake.
Now that ->> exists, I'm willing to rewrite in most-significant-arg-
last style.
-SS
Perry
2010/1/25 Sean Devlin <francoi...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups "Clojure Dev" group.
> To post to this group, send email to cloju...@googlegroups.com.
> To unsubscribe from this group, send email to clojure-dev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/clojure-dev?hl=en.
>
>
I was glad to see str-utils2 being included for promotion in
clojure.lib, but am in preference of str-utils2 favoring of -> over -
>>
Rich's comment here [1] has me wondering if maybe the decision to
promote the (rather new) str-utils3 (now c.c.string) style should be
reconsidered. (Perhaps I am misconstruing his point as it applies
here, or perhaps I just need more time to get used to new style)
Cheers,
Tom
[1] http://groups.google.com/group/clojure-dev/msg/36cfb1f43eb0e1d2
--
[1] http://clojure-log.n01se.net/date/2009-10-16.html
[2] http://clojure-log.n01se.net/date/2009-10-28.html
> > clojure-dev...@googlegroups.com<clojure-dev%2Bunsubscribe@googlegr oups.com>