Re:How to integrate AngularJS with Rails 4
by krapp on Tuesday October 01, 2013 @12:15PM
(#6477096)
>everyone who knows coffeescript knows javascript.
Is this necessarily true? You can't put coffeescript between script tags and just have it run, as it's designed to use incompatible idioms which need to be 'compiled' to js (because js is ugly and awkward).
It's entirely possible someone who has only ever used coffeescript and has a deep aversion to js has no idea how to actually write the js version of whatever it is they're coding.
Re:How to integrate AngularJS with Rails 4
by sehr on Tuesday October 01, 2013 @04:25PM
(#6478861)
That's assuming they've never had to debug one of their programs, ever. Even with a distaste for braces and semi colons they will have to eventually look through the compiled code, or run through something like js2coffee.
Is this necessarily true? You can't put coffeescript between script tags and just have it run, as it's designed to use incompatible idioms which need to be 'compiled' to js (because js is ugly and awkward).
It's entirely possible someone who has only ever used coffeescript and has a deep aversion to js has no idea how to actually write the js version of whatever it is they're coding.