6 ms·
Article makes no real good arguments about not using the private keyword. It's more descriptive and carries knowledge from other languages compared to putting a
by _zooted 5y ago
Article makes no real good arguments about not using the private keyword. It's more descriptive and carries knowledge from other languages compared to putting a hashtag in front of a variable name.
- kwinten 5y agoI agree. Just because JS has its way of doing it does not mean you need to stick to that. I mean, TS adds a bunch of new keywords to the language that JS lacks. Why not simply stick to those intuitive keywords rather than this weird variable naming nonsense that JS has to use because it doesn't have access modifiers of any kind?