Re:CoffeeScript: less typing, bad readability
by politician on Tuesday September 18, 2012 @01:00AM
(#4536418)
Optional parentheses wouldn't be so irritating if the rules for omitting them were universal. Currently, when calling functions with arguments you can omit the syntax, but when calling functions without arguments you must use parentheses. Could the 'dispatch vs variable reference' question be decided with some sort of suffix that preserves the value of whitespace? Something like 'f!' 'g! arg1, arg2'?
[ Parent
| on HN ]
There are no comments on this comment yet.