Master the JavaScript Interview: What’s the Difference Between Class & Prototypal Inheritance?
Eric Elliott
6K37

“…and `ChannelStrip` inherits from`BassAmp` & `GuitarAmp`. This is an example of how OO design goes wrong.”

Shouldn’t ChannelStrip be an interface according to proper OO design?

Like what you read? Give Joshua Ohm a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.