|
|
|
|
|
by krapp
3757 days ago
|
|
Using a language that compiles to javascript is still using javascript, though. I think what the author meant to say is "you can pretend you're not writing javascript, even though you really are." But once you compile that better, safer, saner language into the untyped, dynamic, poorly designed mess that is javascript, and run it in the volatile environment of a browser, it's still javascript running in a browser. |
|
Now, you're half-right in that you may occasionally need to drop into JavaScript to do some "low level" things. This is no different from C++, where you may occasionally need to drop into x86 assembler to do some low level things, such as local speed optimization, or hitting memory-mapped registers.
In both cases, you're programming at a higher level using safer and more sophisticated abstractions.