Become a member
Sign in
Jeff M
Jeff M

Jeff M

2 Following
25 Followers
  • Profile
  • Claps
  • Responses

Latest

Jeff M
Jeff M
Nov 6, 2015 · 2 min read

What is a class, anyway?

We in the JavaScript community tend to have a very narrow view of what a class is and of what classical inheritance can do. We tend to think that classical inheritance can only be a compile-time, single-parent relationship. But what if I told you that classes and classical inheritance…

1

Jeff M
Jeff M
Nov 3, 2015 · 2 min read

Composition vs Inheritance

Mirroring a reddit post of mine to here.

* * * *

The first thing we need to do is clear up definitions. This topic has become muddied recently. Both “inheritance” and “composition” have very specific and technical definitions, but…

3