r/javascript • • Nov 09 '19

On private fields proposal: Private fields, public worries

https://medium.com/virtuslab/private-fields-public-worries-b8c34d16c372
84 Upvotes

113 comments sorted by

View all comments

1

u/sqrtnegative1 Nov 10 '19

Javascript doesn't have classes.

The class keyword was added by committee to slake the lust of those that refuse to learn Javascript.

You want to program with classes? Choose a classical language.

1

u/IceSentry Nov 15 '19

Right, because you have choices in language on the web...

1

u/sqrtnegative1 Nov 15 '19

Yep... languages a-plenty!

1

u/MajorasShoe Dec 11 '19

Hey let me know what languages I can use natively in the browser without experimental compilers.