2 ms·
Effective Java, written by Joshua Bloch, and first published in 2001, had a very influential section called Favor composition over inheritance: https://books.g
by EdwardDiego 3y ago
Effective Java, written by Joshua Bloch, and first published in 2001, had a very influential section called Favor composition over inheritance:
https://books.google.co.nz/books?id=Ra9QAAAAMAAJ&q=inheritance&source=gbs_word_cloud_r&cad=4 https://books.google.co.nz/books?id=Ra9QAAAAMAAJ&q=inheritan...
Why do you think DI is so prevalent in Java codebases? It's a great way of simplifying composition.
- fuzztester 3y ago>had a very influential section called Favor composition over inheritance The GoF book (Design Patterns) had the same, somewhere early, like in the Introduction, in 1994: https://en.m.wikipedia.org/wiki/Design_Patterns https://en.m.wikipedia.org/wiki/Design_Patterns