Hacker News new | past | comments | ask | show | jobs | submit login

This is my opinion as to why not Haskell. I do on the whole prefer lazy languages where the parens are not mandatory, but let's be honest about the drawbacks.

So in Haskell you have "name1 name2 name3 name4 name5;" which is the application of some function to some arguments, of course, so this seems like a win compared to having to parenthesize the same thing. But when you have name1 name2 name3 + name4 name5, you had better want (name1 name2 name3) + (name4 name5) because that's the precedence. I think in some scenarios you can throw $ at the expression to get a more advantageous interpretation. And for fun you can do name1 name2 `name3` name4 name5 which will make things interesting.

And then there's name1 name2 . name3 name4 name5 which in some contexts might mean the coder is using point-free style, which is NOT named after a lack of periods. But point-free style is considered cool by some Haskellers.

Some LISPers like the long row of closing parens on the last line of a definition, so one man's meat, right?

There's no such thing as free syntax.

(I invite technical corrections, I'm still learning Haskell).




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: