4 ms·
You're reading too much into it. This is just someone's fun side project. I'd say Haskell/ML/functional language-style syntax is polarizing; people who write c
by skybrian 12y ago
You're reading too much into it. This is just someone's fun side project.
I'd say Haskell/ML/functional language-style syntax is polarizing; people who write code in functional languages seem to like it because currying, but it can seem pretty foreign to outsiders.
Personally, I think leaving out the parens around function call arguments makes them harder to read and so does currying, so even though I think Elm is pretty cool, the syntax is a drawback for me.
- Guvante 12y agoCurrying is weird, it completely changes how you handle functions. It allows some incredibly powerful concepts to be expressed unambiguously with little syntax. However I certainly agree that the lack of obvious markers for what a function call involves is painful. (For instance `$` is nonsensical in a C-like language but very useful in Haskell)
- arnarbi 12y agoCurrying is only one aspect of it. "Everything is an expression" (meaning custom control structures are a breeze), custom infix operators, custom operator precedence (like the silent application operator vs $), layout [1], ... [1] http://en.wikibooks.org/wiki/Haskell/Indentation#Layout_in_action http://en.wikibooks.org/wiki/Haskell/Indentation#Layout_in_a...