How many
social workers
-- does it take to change a light bulb?
Four. One to remove the bulb from the socket and take it
away, without checking whether or not there was actually
anything wrong with it, one to accuse its owners of
mistreating it, one to find somewhere else to screw it
in for the next 6 months, and one to eventually bring it
back and say it was all done with the light bulb's best
interests at heart....
How many
C++ programmers
-- does it take to change a light bulb?
You're still thinking procedurally. A properly designed light
bulb object would inherit a change method from a generic
light bulb class, so all you'd have to do is send a light
bulb change message....