you are viewing a single comment's thread
view the rest of the comments
[–] 15 points 8 months ago* (3 children)

Examples of inheritance hierarchies are always totally useless shit like this - what if a cow is an animal; What if a cow is a mammal, all mammals are animals and all mammals have a lactate() method?

  • source
  • hideshow 3 child comments
  • [–] 10 points 8 months ago

    Because any real life use that might come to mind would probably be related to some NDA protected database in a company.
    And it is otherwise hard to think of anything at the spot, so just go with what the first example on the web-search came up with.

  • source
  • parent