The best thing about object oriented programming is Polymorphism, (ie executing different code depending on the type…

The best thing about object oriented programming is Polymorphism, (ie executing different code depending on the type of the data).

The other other two “pillars” of OOPs are of more dubious value. Encapsulation encourages bad patterns of state management and mutation. Inheritance is just a flawed approach to composing code for reuse. The best approach to inheritance is to use it very sparingly.

A very useful read about GitHub’s gradual elimination of jQuery and it’s adoption of modern features of the browser…

A very useful read about GitHub’s gradual elimination of jQuery and it’s adoption of modern features of the browser platform. GitHub is one of the best websites, certainly one of the most accessible, and one of the truest to the web philosophy.

Note that they are starting to use custom elements. No frameworks anywhere.

Originally shared by mathew murphy