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

Stéphane Ducasse stephane.ducasse at inria.fr
Wed Dec 11 05:14:25 EST 2013


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.

Stef



More information about the Pharo-dev mailing list