4 ms·
Great advice. This touches on one of the limitations of OO design. Here is an interesting writeup on some other arguments against Object Oriented Programming: h
by akg 15y ago
Great advice. This touches on one of the limitations of OO design. Here is an interesting writeup on some other arguments against Object Oriented Programming: http://c2.com/cgi/wiki?ArgumentsAgainstOop http://c2.com/cgi/wiki?ArgumentsAgainstOop
- pbackx 15y agoI don't think it's a limitation of OO per se, it's just the way you use it. The "use composition over inheritance" advice comes to mind: http://en.wikipedia.org/wiki/Composition_over_inheritance http://en.wikipedia.org/wiki/Composition_over_inheritance
- gte910h 15y agoThis is more of another way of achieving polymorphism. Just because many college level OO classes go coo-coo for co co puffs over inheritance, it doesn't mean saying "inherit less" is a refutation of the whole idea. Hell, "inherit less" is what you have to say to junior engineers CONSTANTLY upon coming out of school.