Re:Poll: What are your liked and disliked programming langua...
by winslow on Thursday October 10, 2013 @01:56PM
(#6529126)
I'm currently using CoffeeScript for a big project on the web and the build step that I have automatically watches my coffee files and recompiles on a new change. Group that with using LiveReload and you have an auto recompile and reloading application with no additional manual build step.
Re:Poll: What are your liked and disliked programming langua...
by XorNot on Thursday October 10, 2013 @01:13PM
(#6528845)
It's also that you lose any ability to step-debug at the moment. You still need to know Javascript to debug Coffeescript by and large.
That mental context-switch overhead is the whole driving philosophy behind NodeJS in the first place - don't switch languages so often. CS/JS is enough of a change that the overhead is not insignificant.
Re:Poll: What are your liked and disliked programming langua...
by lowboy on Thursday October 10, 2013 @04:15PM
(#6529772)
Eh, I don't find switching back and forth to be that problematic in terms of context switching. That's because CS is very similar to JS in everything but syntax. Which is also why a solid JS background is almost essential when writing CS.
Re:Poll: What are your liked and disliked programming langua...
by winslow on Thursday October 10, 2013 @01:54PM
(#6529105)
This is no longer true. You can debug CoffeeScript in web browsers now with source maps. Yes you may need to dig into JS for a more severe bug but most of the stuff is debug-able in source maps.
That's a very railsy answer. The strength of the web is that you don't need to run a build at all. I think that's the fundamental dislike of Coffeescript. I've worked on so many html frontends where a build process wasn't necessary to accomplish our job, and if someone tried to introduce one for the sake of coffescript it would simply be an annoyance.