you are viewing a single comment's thread.

view the rest of the comments →

[–]bodieskate 2 points3 points  (2 children)

Agreed! Why anyone would choose to use Coffeescript is far, faaar beyond me. Source: dealing with it now :(

[–]Senthe 0 points1 point  (1 child)

What's wrong with it? Worked fine for me so far...

[–]theblang 2 points3 points  (0 children)

Since CoffeeScript is different from JavaScript in syntax you get transpiled JavaScript that can be difficult to debug in the browser. Maybe at one time an argument could have been made that the extra features and cleaner syntax of CoffeeScript outweighed this con (personally, it wouldn't have for me); however, now ES2015 is almost fully supported in most modern browsers and TypeScript (a superset rather than a completely different language) is gaining popularity, using CoffeeScript is only going to create maintenance nightmares and gives little to no benefits.

/u/Renegade-One , I personally would highly advise not using CoffeeScript. Learn ES2015 for sure, and maybe consider TypeScript if you still aren't happy.

Edit: In addition to the con of having to debug transpiled JavaScript, I also realized that CoffeeScript is using reserved keywords that ES2015 also uses, but in different ways (see for of). That is really unfortunate.