News for hackers. Stuff that matters.
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!
Re:The Sparkling Programming Language by sdegutis on Monday November 16, 2015 @02:29PM (#10576542)
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?
Re:The Sparkling Programming Language by H2CO3 on Monday November 16, 2015 @02:42PM (#10576632)
I can remove that option at any time, if it turns out to be an important enough issue :)
Re:The Sparkling Programming Language by nikolay on Monday November 16, 2015 @10:56PM (#10579081)
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.
Re:The Sparkling Programming Language by H2CO3 on Monday November 16, 2015 @05:22PM (#10577689)
Yes, exactly. So this should probably be decided early.