-
Notifications
You must be signed in to change notification settings - Fork 113
An alternative proposal and simple implementation #154
Comments
The colon there is a forbidden extension, which is reserved for possible future type annotations, and would conflict with TypeScript and Flow. Additionally, the asymmetry of using Additionally, the shorthand |
@lijarb Thanks. This is not just a proposal about syntax, its core claim is For grammar, I think that if can't deny the existing property declaration syntax, we can't deny the rationality of |
whether you use : or =, it’s either per-instance (fields), or its on the prototype (massive footgun). |
even more ugly than original, and does not fix '#'. #149 is much more better than yours. |
See the FAQ for an explanation of why we use |
The project at aimingoo/private-property.
The goal of this proposal is to replace the highly controversial old proposal "proposal-class-fields". The new proposal with a concise implementation and aims to propose and accomplish One objective: SIMPLE!
^^~
Thanks for all.
A showcase, I really hope you can run it in person.
The text was updated successfully, but these errors were encountered: