I am new to JavaScript. I'm reading the section on "Parasitic Combination Inheritance" in the Professional Javascript for Web Developers 3rd Edition in Chapter 6. With the introduction of ES6 and a strong push to move away from "new" and deep hierarchies, is there a purpose to use the Parasitic Combination Inheritance pattern anymore?
What is used today? I feel like I am learning a bunch of patterns that are useless. I know people just use Object.create()
and Object.assign()
these days, so why even mention these inheritance patterns?