3 ms·
I think you may be missing the point of coffeescript. > Perhaps its me, but I just don't get why I'd want to write in one language in order to get code in anot
by losvedir 14y ago
I think you may be missing the point of coffeescript.
> Perhaps its me, but I just don't get why I'd want to write in one language in order to get code in another. Why not just learn the target language?
This seems to imply to me you think most coffeescripters don't know javascript?
I've always thought coffeescript was for people who _did_ know javascript, and just wanted a little neater syntax.
Why use it? For the same reason I tweak my text editor: when I spend hours a day doing something, even small efficiency wins add up.
I agree that learning only coffeescript, and not javascript is a bad idea.
edit: toned down language.
- Zelphyr 14y agoYou may be right that the people who write CoffeeScript already know JavaScript. But as the popularity of CoffeeScript increases so will increase the number of developers who only know CoffeeScript and little to no JavaScript. This may be a temporary problem, though, as it may also become increasingly unnecessary to know JavaScript. But it WILL be a problem. This isn't and won't be limited to CoffeeScript though. There are still a ton of "developers" out there who know jQuery or Dojo or, God forbid, Ext.js but actually know little JavaScript. A friend of mine was recently interviewing a guy who claimed to be a JavaScript developer but didn't know that "foo['bar']" was the same as "foo.bar". No doubt the guy could glue things together in some library blindfolded but the fact remains; he didn't know JavaScript and it cost him a job.
- harel 14y agoI agree, though I quite like Ext.js and 'god forbids' dojo...