Re:Sweet-expressions: A readable format for Lisp-like languages
by aerique on Friday November 26, 2010 @08:32AM
(#1942338)
Are you from a maths background? I'm not and having played with Haskell a little the syntax is a real turn-off for me. For me Lisp is a lot more readable.
[ Parent
| on HN ]
Re:Sweet-expressions: A readable format for Lisp-like languages
by merijnv on Friday November 26, 2010 @11:17AM
(#1942635)
No, I have a CS background, my first languages were Java and Python. I only started looking into the math related to programming languages after Haskell. Do you have any examples of. Which syntax makes it unclear to you?
I think the uniformity of Lisp syntax makes it hard to scan and find the various parts I'm interested in. Especially the quote operators can be nefariously easy to gloss over...
Re:Sweet-expressions: A readable format for Lisp-like languages
by aerique on Saturday November 27, 2010 @05:30AM
(#1944739)
I guess it's just a matter of experience then, I find Lisp pretty easy to scan through. So we can debate this until the end of time apparently. :-)
With regard to Haskell the original post eloquently sum up most of my problems with it (and then so more).
edit: Haha, I thought this thread was attached to the "Lisk" topic (Lisp syntax for Haskell) that's what I meant with "original post" above.
Re:Sweet-expressions: A readable format for Lisp-like languages
by merijnv on Saturday November 27, 2010 @08:17AM
(#1944895)
Ah, I saw the Lisk topic, and while agree that Haskell's very exact whitespace could be annoying without a good editor (mine automatically indents correctly anyway so I never have problems), if its such a big deal you could just use {} and semi-colons as that is valid syntax as well. You only have to do exact whitespacing if you don't use those, although it might be easier to just use a decent editor instead.