News for hackers. Stuff that matters.
Re:Farewell CoffeeScript by CrLf on Thursday October 02, 2014 @08:08AM (#8400390)
Whenever I see someone using significant whitespace as a downside of any language, I can't avoid thinking "man... I wouldn't like to see your code..."
Re:Farewell CoffeeScript by drabiega on Thursday October 02, 2014 @08:22AM (#8400421)
My main gripe with significant white space is that it forces a specific level of formatting that is generally less attractive and readable then what I would otherwise use.
Re:Farewell CoffeeScript by CrLf on Thursday October 02, 2014 @08:28AM (#8400448)
Please elaborate. Usually, significant whitespace only forces code at the same nesting level to have the same indentation, it doesn't specify what that indentation should be.
Re:Farewell CoffeeScript by spoiler on Thursday October 02, 2014 @09:30AM (#8400611)
I dislike significant whitespaces because when there's a lot of code that has multiple nesting levels it becomes a bit hard to follow. I like it when my code has a beginning and and ending token ({ and } in JS/C/C++ or `begin` and `end` in Ruby). Whilst writing CS I found myself writing `# end` a lot.

Also, not to mention (maybe my editor lacks this feature) I like using ^M to jump from end to beginning braces of blocks, and I can't seem to do that in CS.

However, all of these arguments just boil down to "this is my personal preference"

Re:Farewell CoffeeScript by pmontra on Thursday October 02, 2014 @09:32AM (#8400623)
My main gripe is that it makes moving code around painful and it introduces bugs that are difficult to spot. Literally.