Re:The Sparkling Programming Language
by nikolay on Monday November 16, 2015 @01:31PM
(#10576106)
Why are parentheses optional for functions? The big thing one can borrow from Python 3 is that there should be one way of doing something to save the community the endless unproductive fights of which one of the many ways of doing something is best!
[ Parent
| on HN ]
Meh. I'll take "too many syntax options" over "too few stdlib functions" any day. (I'm looking at you Lua!)
Re:The Sparkling Programming Language
by johnmaguire2013 on Monday November 16, 2015 @03:54PM
(#10577082)
False dichotomy?
I can remove that option at any time, if it turns out to be an important enough issue :)
I think having multiple options is always a bad idea for a language. It complicates the syntax and make people ask why not make parenthesis optional for loop statements as well? Then they perceive this as imperfect design - consciously or not. To me personally, this looks like a patch put in place just to entertain the Ruby crowd and is not along the lines of the solid unambiguous syntax that you're striving for!
Re:The Sparkling Programming Language
by johnmaguire2013 on Monday November 16, 2015 @03:54PM
(#10577085)
And you'll break backwards compatibility with every app written prior.