3 ms·
The last bit is sort of true and not. Obviously you don't have to know Javascript to write Coffeescript any more than you have to know C to write Javascript (o
by ajross 14y ago
The last bit is sort of true and not. Obviously you don't have to know Javascript to write Coffeescript any more than you have to know C to write Javascript (or how your machine architecture works to write C).
But it certainly helps. And you'll never write good code without a solid understanding of the runtime your syntax is sitting on. But I don't think that's any more true of CS/JS than it is for any other environment. Java progammers need to understand the JVM, C people want some ability to read disassembly and understand calling conventions, people writing code generators need to understand the hardware pipeline they are optimizing for.
It's turtles all the way down.
- benaiah 14y agoIt is more true for Coffeescript, because Coffeescript is so closely tied to specific Javascript problems and idioms that it makes it more of JS shorthand than an actual new language. It's very different than understanding .NET (or Mono, for that matter) to write C#, or understanding the JVM to write Clojure.