Thanks, Esteban :) As compromise
> Smalltalk ui icons iconNamed: #something is ok for now. Cheers Alex On Thu, Feb 4, 2016 at 5:55 PM, Esteban Lorenzano <[email protected]> wrote: > > > On 04 Feb 2016, at 17:38, Stephan Eggermont <[email protected]> wrote: > > > > On 04-02-16 17:00, Esteban Lorenzano wrote: > >> Smalltalk ui icons iconNamed: #protocolExtension. > >> > >> Still ugly, but I’m not happy with the idea of a selector-per-icon… > > > > Why do you see that as a problem? For me the problem is more the > trainwreck. > > because then you have a fixed number of icons and you cannot dynamically > load more. > You can create methods ad-hoc, but I do not like this in general… and you > do not have any gain between doing: > > Smalltalk ui icons iconNamed: #something > > and doing: > > Smalltalk ui icons somethingIcon. > > ThemeIcons>>#somethingIcon > ^ self iconNamed: #something > > > So yes… adding a selector-per-icon is not recommended because it does not > scales. > > Esteban > > > > > Stephan > > > > > > > > >
