4 ms·
What I propose is introducing breaking changes via editions. For instance, we could freeze class prototypes making impossible to dynamically replace a method o
by conaclos 4y ago
What I propose is introducing breaking changes via editions.
For instance, we could freeze class prototypes making impossible to dynamically replace a method or adding a method to it.
This what "use strict" did by forbidding `with` statements for example.
- k__ 4y agoYou never break user space.
- Thiez 4y agoOnly a Sith deals in absolutes. Presumably that is why proposed mechanism requires the user to explicitly opt-in, just like with `"use strict";`.
- bazoom42 4y agoBrowsers still have to support the older editions for backwards compatibility, so each new edition increase complexity.