3 ms·
> If JS had classes(like ES6),nobody would create all these complicated frameworks to build them. Having classes does not solve the meta-programming issue, whi
by _pmf_ 13y ago
> If JS had classes(like ES6),nobody would create all these complicated frameworks to build them.
Having classes does not solve the meta-programming issue, which is what most frameworks additionally provide. Look at the Java world for an example that classes don't prevent the proliferation of frameworks.
- camus2 13y agowell, having classes helps not to ask oneself how to write classes.