Hacker News new | ask | show | jobs
by acjohnson55 3897 days ago
This comment would be more useful if you made an actual argument. But to imply that you can't comprehend any possible gain for using another language that overcomes the downsides (which you don't specify) isn't constructive.
2 comments

I like pure JS over CoffeeScript (and other something-to-JS solutions) because:

- Writing JS gives me a better feel for how the language actually works

- I like the line number in the JS I'm debugging to equal the line in my source code

- There's less magic to understand & deal with

- CoffeeScript automatically returns the last line of a function, and I don't always like that

> - Writing JS gives me a better feel for how the language actually works

Only because you know it better...

> - I like the line number in the JS I'm debugging to equal the line in my source code

Source maps.

> - There's less magic to understand & deal with

https://medium.com/@c2c/nodejs-a-quick-optimization-advice-7...

> - CoffeeScript automatically returns the last line of a function, and I don't always like that

Use explicit return then.

Well when you pretend that Coffeescript is just another language (like Java, or C#?), then it does become difficult to understand my statement.

Fortunately, most everyone else seems to understand what Coffeescript is, and thus they were able to grok my meaning.