I once liked the Clojure's less-parentheses approach.
 
Today I found that you can't utilize s-expression comments easily in 
Clojure.
 
e.g.
In
(let [x 1 y 2] x)
When you are about to comment out the "y 2" part, you have to move the 
cursor back and forth to insert new parentheses.
 
And you can't do this:
user=> (let [x 1 (comment y 2)] x)
 
IllegalArgumentException let requires an even number of forms in binding 
vector
in user:1  clojure.core/let (core.clj:4043)
 
(comment) in Clojure is not really comment. It returns nil. 
http://clojuredocs.org/clojure_core/clojure.core/comment
 
vs.
 
You can do this in Racket:
> (let ([x 1] #;[y 2]) x)
1
 
#; is s-expression comment in Racket.
 
Parentheses are there to group logically related things together.
 

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to