[FYI] Java vs Squeak/Smalltalk

Joerg Beekmann jbeekmann.deepcove at telus.net
Fri Jan 18 17:56:03 UTC 2002


>Everything is an object ( no primitive types which are not objects ).
>Therefore, no need to understand language constructs which separate the
>two.  As far as the programmer is concerned, there is nothing in the
>environment which appears to be of a fundamentally different character from
>everything else.


Almost but not quite true. For example the following shows the primative
types poking through:

(ByteArray new: 5) at: 1 put: 8
       v.s.
(ByteArray new: 5) at: 1 put: 'foo'


Joerg





More information about the Squeak-dev mailing list