2 ms·
wtf coffeescript. What is the point of that?
by odbol_ 11y ago
wtf coffeescript. What is the point of that?
- goldbrick 11y agoIt's what ruby does and coffeescript is basically an exercise in making js more like ruby.
- matthewmacleod 11y agoThis is a deliberate design decision in CoffeeScript – "everything is an expression" (see http://coffeescript.org/#expressions http://coffeescript.org/#expressions). This is probably as a result of CoffeeScript's Ruby-esque syntax and semantics. It does mean you can write some very clear and succinct code at times, but the tradeoff is that it can have unforeseen performance implications.