[comp.lang.smalltalk] Joke

870646c@aucs.AcadiaU.ca (Barry Comer) (03/19/91)

How many objects does it take to change a light bulb?

None, you only need to send it a message to change, it should know how.

later
Barry

peterm@eci386.uucp (Peter G. Marshall) (03/23/91)

In article <1991Mar18.162139.2572@aucs.AcadiaU.ca> 870646c@aucs.acadiau.ca (Barry Comer) writes:
> How many objects does it take to change a light bulb?
> 
> None, you only need to send it a message to change, it should know how.

Wrong :-).
Everything things an Object. Therefore message is an object. Therefore
the answer is 1.

-- 
					     
					     
Peter G. Marshall			      Elegant Communications INC
peterm@{martech,eci386,gate,robohack}.UUCP    481 University Ave. #602