Hi,

I actually think that this is a really important question and for me 
despite the fact that I *love* Clojure my answer is NO, i don't like the 
syntax.

To me it represents a significant barrier for reading. When I read an 
imperative OOP language I instinctively "see" through the code what the 
author wants to do. With LISP the first instructions of a code block are 
those that are most inside (nested) so looking at the ouside instructions I 
can't figure out why are they there because I don't know what is going into 
them as arguments. I have to follow the parens inside and then bactrack 
back.

One particular rant is that to make the code more readable I use lots of 
let bindings to make the subexpressions named. And here I hate the fact 
that let-s create another parens and indentation level. Many of my 
functions have let statements so in order to write a function I have one 
function-level indentation and one let-level indentation. I know that it 
makes sense but coming from a Ruby world I like when I have to do more 
typing to achieve some kind of a special case and less or no typing to get 
the default case, which is here not true.

I know that it is crazy and appalling but I actually like the syntax that 
Clarity "preprocessor" is doing: https://github.com/one-more-minute/clarity 
Though I agree that using it as a macro is kinda crazy and overall it is 
not worth the effort.

M.

Dne pondělí, 12. srpna 2013 9:52:53 UTC+2 Răzvan Rotaru napsal(a):
>
> Hi,
>
> I'm curious about the general opinion on the Clojure syntax, whether 
> people actually like it or just use it because it provides macros. So I 
> would like to ask you to participate in a poll. Thank You.
>
> Here's the link:
>
> https://docs.google.com/forms/d/1GSgfkeThpUYlgFVzhhNIgA1JbTilu6S9eudq_Sbxl34/viewform
>
> Răzvan
>

-- 
-- 
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/groups/opt_out.


Reply via email to