3 ms·
> The freedom of having every object and every property be configurable, settable, introspectable, readable and writable, at least at the language level, is wor
by gwern 15y ago
> The freedom of having every object and every property be configurable,
settable, introspectable, readable and writable, at least at the language
level, is worth the trade off. If we add const, private, and other lock-down syntax, or make class properties private by default (shudder), I
guarantee you that many potential innovative libraries that otherwise might spring up will never even be conceived, and frustrating situations that could have otherwise been solved by a quick patch will instead require
convoluted work-arounds.
If you say so.