Does anyone else have this pattern?

Lukas Renggli renggli at
Fri Jun 29 15:21:38 UTC 2007

> So, am I alone in thinking something like this would be useful, and if
> I'm not, what's the best way to go about getting it into the image?
> Create a CollectionTesting package and add it to the dependencies of
> any packages that use it? Submit a changeset somewhere? And enquiring
> mind wants to know.

I have similar situations in mind where my code looked like the one
above. I don't feel anything bad about that and this is also where
SmallLint is sort of missing the context.

Similar issues have been discussed on the mailing list for things like
#ifNil:ifTrue:ifFalse and friends. Implementing such methods would
lead to an explosion of the interface, see the WAHtmlBuilder in
ancient versions of Seaside.

Btw, I am not sure if you are aware of the Essential-Testing tools?
The TestRunner of Squeak 3.9 origins from there. The package is
available at and it
includes facilities to run SLint as part of SUnit tests. It allows to
use pragmas to declare certain lint errors as expected or to ignore
certain lint rules in the context. It also includes some additional
rules I consider to be important.


Lukas Renggli

More information about the Squeak-dev mailing list