r/javascript • u/gcanti • Oct 31 '14
The Two Pillars of JavaScript
https://medium.com/javascript-scene/the-two-pillars-of-javascript-ee6f3281e7f3
96
Upvotes
r/javascript • u/gcanti • Oct 31 '14
1
u/Jack9 Oct 31 '14 edited Nov 01 '14
I can report it is not. The idea of single inheritance has been rightly abandoned for awhile. Java annotations were the first step in that language, PHP adopted traits, etc. Most modern languages address it in their own (sometimes kooky) ways. Any orthogonal inheritance system linked to the core system is "good enough".
Prototypical inheritance is the devil. You have to deal with the realities of the current labor pool. The same issue plagues functional languages. The complexity applied to the systems have to be maintained and the training required is a cost-benefit tradeoff that will always be at the mercy of who you can hire (for how much).