> 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.
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.
And even if they tried, aside from debugging issues, I think the article shows that it's pretty hard to work with CoffeeScript if you don't understand the underlying output code.
I bet someone has uttered nearly these exact words when debating assembly versus C/Fortran/etc.
The problem, in other words, is not about CoffeeScript in particular. It's about people learning CoffeeScript and not learning JavaScript. We are far, far from the point where you can be a great web developer without knowing JavaScript.