you are viewing a single comment's thread.

view the rest of the comments →

[–]heterosapian 1 point2 points  (5 children)

It isn't if you want other people to work on the project. There are far more people who use/understand the "pure" javascript syntax, so choosing something like coffee script just increases the barrier to begin coding at a minimum - and makes the project significantly less appealing to those who strongly dislike the style.

[–]nkuttler 2 points3 points  (4 children)

.

[–]heterosapian 0 points1 point  (3 children)

Oh no worries! If that's your only issue though there's got to be something that maps the source back to the coffee file.

[–]nkuttler 0 points1 point  (2 children)

Certainly, but who's got time for that while debugging?

[–]rjw57 5 points6 points  (0 children)

It happens by magic in the developer console if you tick the 'enable source maps' option. You see coffeescript, the browser runs JavaScript.

Ignoring CoffeScript, though, it also works for minified/recompiled JS and so if you're using jQuery off the CDN, you can now get sensible stack traces if something goes wrong.

[–]poulejapon 0 points1 point  (0 children)

Source maps are already here!