I love the parenthesis.... please dont take them away ;) I dont want to learn a language syntax. I want a language "without a syntax" . And thats why i love clojure .
Josh On Tue, Feb 5, 2013 at 2:57 AM, Leonardo Borges <leonardoborges...@gmail.com > wrote: > Honestly I find myself missing S-Expressions in other languages now. > The structure they provide is extremely useful in my opinion - > especially when writing macros. > > Also, syntax is only one of the many facets of Clojure - if all the > benefits and features Clojure provides doesn't cut it for newcomers, I > doubt a python-like syntax will do. In the end, Syntax is just that. > Syntax. People get over it. (Even thought I still think S-Expressions > ARE a feature.) > > In the end, have newcomers program in a bastardised version of > lisp/clojure to only then have them deal with S-Expressions misses the > entire point. > > my 2c. > > Cheers, > Leonardo Borges > www.leonardoborges.com > > > On Tue, Feb 5, 2013 at 10:50 AM, Mikhail Kryshen <mikh...@kryshen.net> > wrote: > > The problem of readability of S-expressions has been discussed since the > > beginnings of Lisp. > > > > Some known alternative notations: > > http://en.wikipedia.org/wiki/M-expression > > http://readable.sourceforge.net/ > > > > > > On Mon, 4 Feb 2013 22:01:30 +0200 > > Sergey Didenko <sergey.dide...@gmail.com> wrote: > > > >> Hi, > >> > >> For us as Clojure community it is easy to see how Clojure benefits > >> from being a Lisp. Homoiconity, extreme conciseness, esoteric look and > >> feel, etc. > >> > >> However it is hard to see from the inside how Clojure as ecosystem > >> (probably) suffer from being a Lisp. Please don't throw rotten eggs at > >> me, I mean only the part of Lisp that is ... parentheses. > >> > >> I remember a number of people that mention parentheses as obstacles to > >> the wider Clojure adoption, in the Clojure space - in the Clojure > >> related discussions, even on this mailing list IIRC. > >> > >> But the number of people thinking this way outside the Clojure groups > >> is even bigger! We probably don't notice it because got immune to this > >> famous argument "it has too many parentheses" early when diving into > >> Clojure. > >> > >> I suggest there are a big number of people that could gain interest in > >> clojure if we provide them with parentheses-lite Clojure syntax. For > >> example we can steal Python way of intending blocks. > >> > >> For example the following quicksort implementation > >> > >> (defn qsort [[pivot & xs]] > >> (when pivot > >> (let [smaller #(< % pivot)] > >> (lazy-cat (qsort (filter smaller xs)) > >> [pivot] > >> (qsort (remove smaller xs)))))) > >> > >> could be written as > >> > >> (set! python-style-op-op true) > >> > >> defn qsort [[pivot & xs]] > >> when pivot > >> let [smaller #(< % pivot)] > >> lazy-cat > >> qsort > >> filter smaller xs > >> [pivot] > >> qsort > >> remove smaller xs > >> > >> What do you think? > >> > >> Isn't is less complex? > >> > >> > >> P.S. Ok, I must confess, the mention of the C-Word in the last > >> sentence was just a desperate way to get Rich's attention. > >> > >> P.P.S. Actually I would also love to see Clojure community making > >> video clip "Clojure - Python Style" as a remix for "G... Style", but > >> this idea is probably way ahead of its time. > >> > >> > >> Regards, Sergey. > > > > Mikhail > > > > -- > > -- > > 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. > > > > > > -- > -- > 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. > > > -- -- 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.