u/MinimumMagician5302in r/Clojure • Recommends
#sandimetz#object-orientedprogramming#inheritance
The problem with Object Oriented Programming and Deep Inheritance - Sandi Metz
25K subscribers • 12 videos on Hallway
- Recommended by 2 people: 2 in engineering communities.
- An opinion. It argues one side of a question engineers disagree on.
Intermediate. Assumes working knowledge.
2.1K views1 year ago2 recommendations
Software designProgramming languagesObject-oriented designDesign patternsRefactoring and legacy code
An explanation of speculative generality and the bugs associated with deep inheritance trees in object-oriented programming.
#ObjectOrientedProgramming #OOD #SandiMetz #SoftwareDesign #CleanCode #ProgrammingTips #CodeComplexity #DIT #SoftwareEngineering #CodeMaintainability Are you over-engineering your code for features that may never exist? In this video, we dive into Sandi Metz’s thoughts on speculative generality and explore the research-backed risks of deep inheritance in object-oriented programming. We’ll cover: Why guessing future features often backfires The Chidamber & Kemerer metrics and the Depth of Inheritance Tree (DIT) Why “middle” classes are surprisingly the most bug-prone How to balance OO benefits with code readability and maintainability Learn how to write cleaner, more maintainable OO code without falling into the trap of unnecessary abstraction. Sources: people.scs.carleton.ca/~jeanpier/sharedF14/T1/extra%20stuff/…Why it's here
2 people recommend thisu/South-Reception-1251in r/softwarearchitecture • Recommends
u/MinimumMagician5302in r/Kotlin • Recommends
u/MinimumMagician5302in r/compsci • Recommends
u/MinimumMagician5302in r/softwarearchitecture • Recommends
u/MinimumMagician5302in r/ProgrammingLanguages • Recommends
u/MinimumMagician5302in r/typescript • Recommends
u/MinimumMagician5302in r/swift • Recommends
u/MinimumMagician5302in r/dotnet • Recommends
u/MinimumMagician5302in r/scala • Recommends
u/MinimumMagician5302in r/FlutterDev • Recommends