|
|
|
|
|
by 79d697i6fdif
3434 days ago
|
|
the way inheritance works in JS leads to a ton of inelegant design patterns that need to be remembered and very inefficient handling of many casts because the prototype chain is literally just a linked list. It also prevents sound encapsulation of class local variables and methods, the main point of object oriented programming in the first place. |
|