4 ms·
> writing coffeescript is fun, coming back to make sense of what you wrote months later is an absolute nightmare if you document your code properly, there s
by camus2 13y ago
> writing coffeescript is fun, coming back to make sense of what you wrote months later is an absolute nightmare
if you document your code properly, there should be no issue figuring out what does what month later, I dont really find JS very readable,you often need to guess the intend of the programmer since there are little structures available.
> debugging it is a massive PITA
no problems with source maps.
I use Coffeescript because it's more productive than writing Javascript , on average i write 40% less code with it.I dont have to lint anything,worry about prototype inheritance done right and my code feels more descriptive than imperative,thus more readable.
The class system allows really powerfull metaprogramming. With nodejs and the source-map-support module, there is 0 issues. As for documentation there are tool that allow doc generation from cs source files, test generation for from cs classes ,etc ... There is a reason why there is all these transpiled languages around js, because most people just dont like writing JS code.
- Spiritus 13y ago>on average i write 40% less code with it And yet, by the end of the day you will have implemented the same amount of functionality. Reading and testing is what takes time, not writing.