DEV Community

Discussion on: Is Javascript a compiled language?

 
genta profile image
Fabio Russo

Granted, that shouldn't happen with most modern JavaScript code, but the language itself is a modern one that is still compatible with all of its bad parts.

Sure, but, there are too many code based on those "bad parts".
By fixing It, you will break lots of stuff all around the web.

Thread Thread
 
lexlohr profile image
Alex Lohr

That's why I refrain from calling JavaScript a compiled language. Please let's not break the web.

Thread Thread
 
qm3ster profile image
Mihail Malo • Edited

Yes, the fact new Function() doesn't capture scope makes it much better optimized, but both are still bad for security (esp in web) and performance.

Can't wait for native DOM access in WASM.

Let's break the damn web already!