3 ms·
Since ES6 it seems like the language is having an identity crisis. Trying to cherry pick OO concepts here and there. If Javascript is determined to become full
by mothsonasloth 8y ago
Since ES6 it seems like the language is having an identity crisis. Trying to cherry pick OO concepts here and there.
If Javascript is determined to become fully object oriented, then it might as well just adopt the tried and true concepts in C++/Java for encapsulation.
This just seems like a painful and less verbose way of forcing encapsulation.
I can appreciate Ruby and Python users might not be happy with this convention but this is going to end up in tears I think, maybe not PHP level but still...a mess!