Re: Fwd: Puzzled look :)

Park SungWoo (gladius@compiler.kaist.ac.kr)
Wed, 9 Apr 1997 23:08:36 +0900 (KST)

> In the expression:
>
> 5 + 5
>
> what should one think of in terms of object orientness?
> Can one think of its operands (ie 5 and 5) as data
> which may or may not be busy at the moment the +
> is to be applied?
>
> I can understand "string".length();
> but how do I think of the 5 and 5?
>

5 + 5
--->
Object 5.add(Object 5)
---> 10 !!!

Right ???

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 Sungwoo Park, (Castle-Help Naive)
	homepage : http://compiler.kaist.ac.kr/~gladius
 	e-mail : gladius@compiler.kaist.ac.kr
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -