News for hackers. Stuff that matters.
Re:Love this essay, I still can't (don't want to) find an ap... by paul on Friday June 15, 2007 @04:40PM (#28438)
So don't use inheritance. Seriously. Inheritance is annoying, but unnecessary. I generally avoid it. You can still use other parts of OO.
Re:Love this essay, I still can't (don't want to) find an ap... by ralph on Saturday June 16, 2007 @06:13AM (#28530)
Good advice, but it doesn't help when one's coding in a larger system not just written by oneself. Then there's operator overloading; you can't trust anything to be doing what it suggests in an unknown, or large, codebase. Code readability goes down the pan if too much is hidden by mis-used OO techniques.
Re:Love this essay, I still can't (don't want to) find an ap... by Tichy on Sunday June 17, 2007 @05:13PM (#28731)
Not all OO languages allow operator overloading.