[Pharo-dev] could we stop to create spaghetti code?

Marcus Denker marcus.denker at inria.fr
Wed Dec 11 07:15:45 EST 2013

On 11 Dec 2013, at 11:14, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:

> EyeInspector should not depend on Nautilus.
> icon
> 	^ (self value iconOrThumbnailOfSize: 16)
> 		ifNil: [ self value class nautilusIcon ]
> 					^^^^^^^^^^^^^^^^^^^^^^
> https://pharo.fogbugz.com/f/cases/12392/EyeInspector-should-not-depend-on-Nautilus
> Now we are trying to fix it. The question is how to dispatch.
> May be we should extract from Nautilus the nautilusIcon if the eyeInspector use it.

I think the idea here is that maybe a class should have an icon. Independend of Nautilus.\
(either just icon or toolIcon).


More information about the Pharo-dev mailing list