[squeak-dev] Re: Object>>#is:?

Colin Putney cputney at wiresong.ca
Fri Mar 5 15:41:22 UTC 2010

On 2010-03-05, at 3:50 AM, Juan Vuletich wrote:

> Of course it is not. Anyway, it is much closer to being modular than Squeak. At least there is a lot less dependencies in the kernel upon the applications. The removal of lots of #isXXX methods in Object is just a small part of that.

First, that's not true. A method that returns a Boolean does not introduce a dependency on anything. The removal of these methods doesn't reduce dependency. 

Second, the fact that a method is on Object doesn't make it part of the Kernel. If, for aesthetic reasons, you don't want #isGreen to be present when the Greenness package isn't loaded, *make it part of the package.* Extension methods are a good thing. They enable modularity.

Third, it's meaningless to talk about "kernel" and "applications" in Cuis. There are no packages. There are no boundaries. If one part of the system depends on another, is that the kernel depending on an application or the other way around? Until you actually draw the boundaries, you can't answer that question.


More information about the Squeak-dev mailing list