The Squeak Rectangle as a BabyComponent

Bert Freudenberg bert at impara.de
Sat Sep 24 16:37:15 UTC 2005


Am 24.09.2005 um 15:17 schrieb Trygve Reenskaug:
> The statement rect origin x: 200 DOES change the rectangle because  
> origin returns the instance variable itself.

You should pick a better example, because there is intentionally no  
Point>>x: method. Points are treated read-only (as are Rectangles,  
mostly). Among other reasons this will facilitate moving to immediate  
SmallPoints (a la SmallIntegers).

- Bert -




More information about the Squeak-dev mailing list