On 2013-06-23, at 21:40, Tudor Girba <[email protected]> wrote:

> Actually, a better implementation would be:
> 
> Object>>is: aClassOrSymbol
> ^ aClassOrSymbol asString = self class name asString



> Like this you can even pass the class instead of its name (I presume that
> printOn: will not change any time soon so we can rely on the fact that we
> can polymorphically obtain the name of the class via asString).


... and we're starting from scratch again, sorry, I spent too much time 
discussing
this already :P

=> I am very much against comparing strings, this just doesn't scale

Reply via email to