CoffeeScript Spaces and Tabs
by Paul Verest
Do you see any problem with CoffeeScript code in this snippet?
class SpacesTabs constructor: (@name) -> hi: -> hi2: -> say: -> say2: ->
say2 produced quite different result, though at the same second level.
The reason is that coffeescript compiler treats spaces and tabs in the same way. And it just counts number of spaces or tabs to define level within object.
Hopefully now on you will never spend time on such strange behavior.
Show whitespace characters when in doubt` or pay attention to outline,
Enide Monst(e)r is not yet released.
See sources as https://github.com/Nodeclipse/org.nodeclipse.examples