The canonical OO example

Back in the day, when you wanted an example to explain an object oriented concept, you’d use the Vehicle example.  You’d say things like “A Vehicle is an abstract class”, “A Car is a subclass of Vehicle,” “A Car has four Tires”, and “A Vehicle has an abstract Drive() method.”  Today alone I saw two places referencing music, albums, and tracks, leading me to hypothesize that nowadays the canonical OO example has switched to music, no doubt influenced by the suckling babes of the Napster/iPod generation.

I don’t know if that is good or bad.  Can anarchy be far behind?


0 Responses to “The canonical OO example”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

TwitterCounter for @anthonyrstevens
Add to Technorati Favorites

RSS Feed

View Anthony Stevens's profile on LinkedIn

%d bloggers like this: