On Mar 1, 11:32 am, Kevin Archie <[email protected]> wrote:
> How close are we to a recommended programming style for Clojure? When
> there is more than one way to do something, should I emulate the style
> in core.clj?
>
> The situation that brought this up: I notice that in core.clj, the
> default clause for a cond is usually marked with :else. This seems
> like a pun to me, and that true would be more straightforward. On the
> other hand, if :else is the accepted idiom, I don't want to cause
> people to hiccup when reading my code (which probably has a Common
> Lisp accent in other ways anyway).
>
> I'm reluctant to even bring this up, as some people get really touchy
> about the idea conforming to a style, but since LIsp is such a dense
> language, I don't want to introduce confusion in readers by being
> needlessly idiosyncratic.
>
> Any thoughts?

Please use :else

Thanks,

Rich

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to