Thanks for your feedback and for sharing these resources. I'll definitely add the "Design Patterns Elements of Reusable Object-Oriented Software" book to my reading list !
I'll definitely add the "Design Patterns Elements of Reusable Object-Oriented Software" book to my reading list!
Look, don't get me wrong, it's a good book but from a contemporary view point you have to deal with ancient C++ code and pre-UML diagrams.
If you want the read the treatment on inheritance, the free preview on Google Play should be enough.
In terms of Design Patterns 10 years later Head First Design Patterns was published and lots of people found it to be more accessible as it explained everything in terms of object-oriented design principles (of which "Favour composition over inheritance" is one). Not sure what's in vogue these days.
Most mainstream OO is class-based object-oriented programming; in JavaScript objects can be created in the absence of a class — opening up avenues to alternate solution approaches — not too surprising given that Brendan Eich was recruited to Netscape with the promise of "doing Scheme" in the browser.
So with JavaScript, classes are only part of the story (Eloquent JavaScript doesn't introduce them until Chapter 6).
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Peerreynders,
Thanks for your feedback and for sharing these resources. I'll definitely add the "Design Patterns Elements of Reusable Object-Oriented Software" book to my reading list !
Have a great day.
Look, don't get me wrong, it's a good book but from a contemporary view point you have to deal with ancient C++ code and pre-UML diagrams.
If you want the read the treatment on inheritance, the free preview on Google Play should be enough.
In terms of Design Patterns 10 years later Head First Design Patterns was published and lots of people found it to be more accessible as it explained everything in terms of object-oriented design principles (of which "Favour composition over inheritance" is one). Not sure what's in vogue these days.
The problem with Design Patterns are The 4 Stages of Learning Design Patterns: Ignorance, Awakening, Overzealous Application, Mastery
When it comes to SOLID — even that's just a milestone on the journey: The SOLID Design Principles Deconstructed.
In the end objects are not the only form of data abstraction (On Understanding Data Abstraction, Revisited).
MDN: JavaScript
and
MDN: Classes
Most mainstream OO is class-based object-oriented programming; in JavaScript objects can be created in the absence of a class — opening up avenues to alternate solution approaches — not too surprising given that Brendan Eich was recruited to Netscape with the promise of "doing Scheme" in the browser.
So with JavaScript, classes are only part of the story (Eloquent JavaScript doesn't introduce them until Chapter 6).