24 ms·
yep. personally I've taken a much more functional approach to my javascript development that barely relies on oop.
by akilism 11y ago
yep. personally I've taken a much more functional approach to my javascript development that barely relies on oop.
- phoenixmatrix 11y agoYup. The class keyword is a huge step backward, and it was only put it because of a very different world several years ago when all this was put into motion. It is just a wrapper around prototypal inheritance, but hides a lot of the features in favor of making things look like other OOP languages, even though it isn't. It is also very debatable if classic OOP is even good at all. JS was heading in the right direction, with more functional approaches, factory based object creation, etc... and now it's all back to square one. Fortunately I work on a product where most devs have functional programming backgrounds, so the argument isn't too hard to make. But I fear for the community in general.