Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

OO Inheritance

Name: Anonymous 2011-08-19 23:20

Object Oriented Programming Inheritance. Is there even a point to it? Every time I see people try to explain it they always use that fucking "Animal", "Dog", "Cat" example. I'm honestly not seeing the benefits here. Can someone give me a practical example?

Name: Anonymous 2011-08-20 4:12

i have likewise come to the conclusion that classic inheritance is mostly awful...

lately i have been interested in "traits", a way of composing behaviour without having to have one specific ancestor:

http://scg.unibe.ch/archive/phd/schaerli-phd.pdf

i'm not certain yet, but it seems like a more useful way of structuring things.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List