Y
Hacker News
new
|
ask
|
show
|
jobs
by
codr4life
3458 days ago
Sorry, not buying that one. There's nothing in inheritance that makes extending code easier. You either design for extension or not, has nothing to do with OOP.
1 comments
ktRolster
3458 days ago
Inheritance creates an extra extension point automatically. You don't need to design for it.
A good, thoughtful design is better, of course.
link
A good, thoughtful design is better, of course.