Re:Loyal Opposition to Const, Private, Freeze, Non-Configura...
by gwern on Wednesday November 02, 2011 @08:52PM
(#3189635)
> 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.