4 ms·
Not to mention, ES6 adds a lot of the more useful stuff from CoffeeScript without most of the problems. All too often I have seen developers using CoffeeScript
by Bahamut 12y ago
Not to mention, ES6 adds a lot of the more useful stuff from CoffeeScript without most of the problems. All too often I have seen developers using CoffeeScript run into the unfortunate implicit return and awful readibility of objects problem when trying to debug code - I often either point it out off the bat, or I use the CoffeeScript compiler to figure out what they had and what they intended. That is extra unneccessary overhead for developers.
- sanderjd 12y agoI'm curious what issues you've run into with implicit returns. I haven't traced a single problem to implicit returns in many years of using languages that have them.
- Bahamut 12y agoNot me so much as others - it's a very common problem I've seen when debugging other people's CoffeeScript code. CoffeeScript is a bit of a different situation than other languages since with other languages, it's the norm (i.e. Ruby) - however, with JavaScript, it is not something inherent in JS, so when people jump from JS to CoffeeScript, there is a disconnect.
- sanderjd 12y agoThanks for taking the time to respond, but I'm wondering what specific "common problem [you've] seen when debugging other people's CoffeeScript code", ie. what bug does implicit return commonly cause in their code?