[KCP] SystemDictionary cleaning: Comments and design

Alexandre Bergel bergel at iam.unibe.ch
Wed Jun 11 21:01:16 UTC 2003


Andreas

> Right now we have
> two such places - SystemDictionary which holds most of the "environment
> related" utility methods and Utilities which holds most of the rest.
> Introducing a hundred new classes all of which have one or two methods just
> so that they are NOT in some place isn't very good design either. IMO at
> least.

The class SystemDictionary and Utilities are really a mess. How can a class deal with VM statistic, graphical support, and some network stuff? That's not OO programming.

Such classes have too much dependencies and that's against all the basic principle of OO programming. Here is a nice example, why should I write Utilities pointOrNilFrom: '2,6' ? IMHO, that is really absurd.

Alexandre

> 
> Cheers,
>   - Andreas
> 
> 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.iam.unibe.ch/~bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



More information about the Squeak-dev mailing list