
JavaScript needs a model layer
Frontend First
00:00
Composition: A Better Way to Solve the Problem of Inheritance
There's this talk from like the rails community from sandy Mets about composition. The solid principle is one of the solid principles is that something should be Open to extension, but close to modification. A subscription could say do I have access to this piece of content? And then a lifetime purchase could also answer that question because they can add other pieces of content in the future.
Transcript
Play full episode