>
> Anyway, I'm curious to know why do you think getters and setters are OK
> and properties are not. I don't see any technical difference, specially
> considering get/set for lazy property computation/assignment through the
> prototype getter anyway.
>

Syntax for putting properties on the prototype was long-ago rejected
because of footgun potential.  Users will naturally tend to think of them
as per-instance, instead of shared, which leads to bugs.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to