views:

409

answers:

3

I'm looking for some visuals for a presentation to illustrate the principles of oop in a simple-to-grasp way.

I want to avoid saying stuff like "an object is a software bundle of related state and behavior".

Has anyone seen a non-jargon-y illustrated guide to OOP?

+1  A: 

The illustrations in Grady Booch's book Object Oriented Analysis & Design with Applications are pretty good , and quite funny!

anon
+3  A: 

O'Reilly's book Head First Object-Oriented Analysis and Design may fullfil your needs

Boris Pavlović
A: 

Well, I just thought of cars as an example of OO design. There's a fixed interface: accelerator, brake, clutch, steering wheel, gears, lights, indicators and so on. There's also different implementations of the underlying 'object': petrol, hybrid, electric. Inheritance - manual transmission inherits from automatic transmission but adds a gear lever and clutch.

Skizz

Skizz
I would say that an automatic transmission inherits from a manual, probably because an auto is more complex, so it would require more logic. I'm pretty pedantic though.
Alex Fort
@AF - There will be some pedants in the audience so I take your point.
@Skizz - this is a good approach. thanks.
@AF - I guess it's all down to your point of view. From a user it would be manual inherits auto since interface more complex. For implementor it would be auto inherits manual because implementation more complex. Which denomstrates that there is no 'right' way.
Skizz
It sounds like both inherit from "transmission" since one adds more ui elements, and one adds more processing machinery.
Gregg Lind
Automatic->Transmission->VehiclePart->Object->JonSkeet
Skizz
would it be right to say Automatic is a facade pattern over Manual ?