5 ms·
You're still just blowing past "the JS community". To fill you in on the context of the thread you inserted yourself into, classes have fallen out of favour _i
by c-hendricks 3y ago
You're still just blowing past "the JS community".
To fill you in on the context of the thread you inserted yourself into, classes have fallen out of favour _in JS_. It's pointless to say "but they're still used in other languages!" because we're not talking about other languages, we're talking about JS.
- andrewmcwatters 3y agoI, too, am talking about JavaScript. Everything in JavaScript is prototype-oriented whether you ignore it or not. You can choose to write functions for everything, but you're still always using object prototypes. There are several large popular libraries in JavaScript which do not orient themselves around functional object orientation, too. So you might work in one corner of JavaScript where all you experience is functions, but that's not the case everywhere. They haven't "fallen out of favor," whatever that means.