|
|
|
|
|
by wwweston
4113 days ago
|
|
It does break fundamental uses of the language. Throwing on missing properties is a near-hostile change for most current JS developers. The given justifications for doing this, though, seem to be all about performance rather than an attempt to evolve the language. If that's true, I think it's possible the proposal has a naming problem. Calling it "use strong" implies that this is about evolving the JS language so that devs are spending time writing more strongly-typed code. Calling "use optimize" would make it a lot clearer that this is not an attempt to Java-ify JS, and this is more something you'd primarily invoke for performance-critical code paths. |
|