3 ms·
> But inheritance? Didn't think it made much sense and never tried to use it. This is interesting to read. When OO was popular inheritance was at the top of th
by rdtsc 10y ago
> But inheritance? Didn't think it made much sense and never tried to use it.
This is interesting to read. When OO was popular inheritance was at the top of the list as the OO killer feature. "your 'Manager' class is just an employee but with 3 extra methods, so you save so much copy and paste, etc etc".
I believed it at some point. Then perhaps 15 years later, after everyone has been bit by deep, confusing inheritance they had to maintain and debug, inhertance is the devil.
It is just interesting to observe how once a selling point of OO is now a big giant warning to stay away from.
- graycat 10y agoThere was a lot of hype floating around. There still is. It's like the news: Always the same just the names change.