5 ms·
So you're just gonna ignore that whole "the JS community" bit then, ok. Is this what $200/hour consultancy looks like?
by c-hendricks 3y ago
So you're just gonna ignore that whole "the JS community" bit then, ok.
Is this what $200/hour consultancy looks like?
- andrewmcwatters 3y agoTry writing some code in not just JavaScript but also C, C++, Java, and others. Classes aren't some relic. You use prototypes in JavaScript every single day.
- c-hendricks 3y agoYou'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.