Am 14.11.2010 07:33, schrieb Eric Schulte:
Hi,
I find myself frequently using the `comp' and `partial' functions and
while I really enjoy being able to program in a point free style, the
length (in characters) of these command names often has the effect of
causing what should be a brief statement to span multiple lines.
I'm about to begin starting all of my clojure namespaces with
(def o comp) ; o for cOmp, Haskell's (.) or Mathematical composition \circ
(def p partial) ; p for partial
Eric, I think you are approaching it from a wrong way.
Shortening those two names won’t increase your productivity, and they
will not really improve readability.
It takes months or years to write complex software. Having o and p won’t
help you to reduce such complexity, and as you mentioned yourself — your
colleagues might not profit from it too (or future employees).
You may however want to checkout the #() reader macro vs. using partial.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en