7 ms·
Considering Javascript is the only language supported on the frontend, claiming to be more productive is definitely valid. Coffeescript was a breath of fresh a
by turtlebits 5y ago
Considering Javascript is the only language supported on the frontend, claiming to be more productive is definitely valid.
Coffeescript was a breath of fresh air compared to writing ES5.
- arcanon 5y agoWe need a Coffeescript Renaissance!
- phil294 5y agoNothing is holding you back from using it!
- nsonha 5y agolack of types and it used to be ignorant of perf in the generated code (creating IIFE unnecessarily)
- phil294 5y agoRegarding types, you're right, though JSDoc can get you very far Regarding perf (performance, I guess?) - are you speaking of the single, global one? As CS takes care of variable scoping automatically, I think it makes a lot of sense (and is deactivatable anyway)
- nsonha 5y agono coffeescript desugars into functions things like switch statements, do statements and some other things (that have nothing to do with functions)
- arcanon 5y agoJust tried a switch statement, didnt desugar into functions. Maybe you haven’t been keeping up with the latest.
- nsonha 5y ago> JSDoc can get you very far in the sense that you write them and parse them in your brain manually. JSDoc is useful to me because IDE supports it for javascript. Without IDE support it's just a bunch of fancy comments
- scotty79 5y agoWorld needs a version of coffeescript that compiles to typescript.
- phil294 5y ago(being discussed here https://github.com/jashkenas/coffeescript/issues/5307 https://github.com/jashkenas/coffeescript/issues/5307)
- cflewis 5y agoI sure am tired of Javascript being the lingua franca of the web. Imagine if we decided C was good enough and now all programming languages from that point on should just be something that cross-compiles to it.