News for hackers. Stuff that matters.
Re:Making Coffeescript’s Whitespace More Significant by thedufer on Wednesday November 30, 2011 @03:41PM (#3296809)
I like the idea, but the lack of backwards-compatibility is less than ideal. Some people who update CoffeeScript compilers will suddenly find their code mysteriously doing the wrong thing (when they wrote what this suggestion considers "cascading messages", but expect them to not cascade). I have worked on multiple projects that would fall prey to this issue.
Re:Making Coffeescript’s Whitespace More Significant by Semiapies on Wednesday November 30, 2011 @04:13PM (#3296925)
Perhaps a "legacy" option to disable cascading?
Re:Making Coffeescript’s Whitespace More Significant by thedufer on Wednesday November 30, 2011 @05:07PM (#3297118)
The problem is the time it will take people to realize that they need to turn on the "legacy" option. The failures this change could cause could be very difficult to track down.
Re:Making Coffeescript’s Whitespace More Significant by davej on Wednesday November 30, 2011 @05:30PM (#3297199)
Make it an opt-in feature for the moment and maybe make it the default for CS 2.0 or some other milestone.