Re:CoffeeScript: JavaScript without the Fail (slides)
by Bodil on Saturday September 10, 2011 @06:32AM
(#2981313)
Why would significant whitespace impede tooling? If the compiler can parse it, why can't your refactoring tools?
[ Parent
| on HN ]
Re:CoffeeScript: JavaScript without the Fail (slides)
by cageface on Saturday September 10, 2011 @05:02PM
(#2982475)
Because you can't automatically re-indent code. In a language like C or Javascript, I can just copy, paste and move chunks of code around and have pristine re-indentation with a keypress. In Haskell, Python, or Coffeescript I have to be very careful and have to manually re-indent if I want to move code or change scopes.
Whitespace is much better left as a purely aesthetic feature, IMO.