4 ms·
The new syntax for #private vars is truly terrible and the arguments for it are not compelling enough - some flavor of soft private would be OK. Please, if anyo
by nivexous 8y ago
The new syntax for #private vars is truly terrible and the arguments for it are not compelling enough - some flavor of soft private would be OK. Please, if anyone from TC39 is reading, take the criticism seriously.
- andyfleming 8y agoWow. I had not seen that and I can't say that I'm a fan. I hope this doesn't end up in the language this way.
- pitaj 8y agoPlenty of people have brought up the "looks ugly/terrible/dumb" criticism and they seem to be sticking with the "total private encapsulation" proposal. Personally I don't have a problem with it, since Typescript offers "soft" access modifiers that work fine for any use cases I can think of.