The way I think about syntax is: Given:
* my brain has limited processing power (measured in kilo-hertz ?) * my brain has very limited L1 cache Question: * do I want to store the operator-precedence + left/right associativity rules of Haskell operators in my brain * spend brain cycles pattern matching the above to even _read_ the code? :-) Having said that, I also feel, within the limits of (), one can do creative things, like swiss arrows. (-<> ... ( ... <> ... )) This example allows for cool "syntax", but has 0 intellectual overhead. On Sat, Apr 5, 2014 at 11:05 AM, Joseph Smith <j...@uwcreations.com> wrote: > Clojure syntax (I.e. parentheses) enable features in the language- you can't > remove them without sacrificing functionality. > > Personally, I feel the uniformity of Clojure syntax makes it easier for me > to reason about code. When I'm working in a language like, say, Ruby, I have > to think ahead about whether or not I need/will need delimiters (e.g. > parentheses) depending on how I'm composing code. > > --- > Joseph Smith > @solussd > > > On Apr 5, 2014, at 12:57 PM, Timothy Baldridge <tbaldri...@gmail.com> wrote: > > I find Haskell syntax completely unreadable. Just saying.... > > On Apr 5, 2014 11:36 AM, "Travis Wellman" <twell...@gmail.com> wrote: >> >> When I started learning Haskell after a year or more of Clojure, the >> syntax was refreshing, and I found myself wishing I could write Clojure with >> Haskell syntax. >> >> Later I left Clojure behind for plain Java because of code maintenance >> issues. I had been writing elegant but deeply nested Clojure code that was >> very difficult to read and realized that Clojure nurtures this propensity in >> its users. Though it's possible to write flatter more linear, more readable, >> more maintainable code, I didn't really want to, and other languages are >> designed for such. >> >> Now I'm coming back to those old discoveries again, and thinking about >> Clojure, and wondering how much work it would be to write a new Haskell-ish >> syntax for using Clojure. I was just looking at core.logic tests, which are >> a perfect example of hard-to-read, using single letter variables, few >> newlines, and zero comments. >> >> To be clear, in this topic I'm not interested in the functional purity of >> Haskell, nor it's libraries or type system, but just the syntax. >> >> Has anyone had a similar experience? >> >> -- >> 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. > > -- > 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. > > -- > 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. -- 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.