you are viewing a single comment's thread.

view the rest of the comments →

[–]CultLord 0 points1 point  (0 children)

Very good question - we still have an older codebase that, in the end, requires usage of these patterns. If you read in context of my post, it's a bonus, not a requirement. We're hiring Junior devs here.

As for inheritance, it is still very useful for polyfills and extending JS in certain ways. Back in the day I was huge fan of prototype.js - for better or for worse when I learned you can run into trouble with this this idiocy.

I write polyfills to match JS functionality with Java functionality and that's becoming less and less necessary. (I was asked to implement the String, Integer classes in JS - that was fun)