On 11 December 2010 20:25, Sean P. DeNigris <[email protected]> wrote: > > I'm trying to wrap my mind around the issue... > > > Stéphane Ducasse wrote: >> >> yesterday on the irc we got a discussion on the dependency introduced when >> using HelpSystem. >> > > On the chat, it seemed that the main objection was depending on an external > class. Since HelpSystem is now part of core, what is the problem there? > Isn't it just like Tests depending on TestCase? > >
So, what the problem here? Put a 'HelpSystem' class var somewhere. And if its nil, do nothing, and then HelpSystem , when loading set this var to some object, responsible for handling requests. Then use self helpSystem instead of HelpSystem everywhere, and you don't have external dependencies. > Stéphane Ducasse wrote: >> >> Some proposed to used pragmas... and we can also browse help with >> implementors. >> > > Again, if HelpSystem is in core, how does it help to browse with > implementors? > > Sean > -- > View this message in context: > http://forum.world.st/About-using-pragma-for-help-like-in-setting-tp3078978p3083618.html > Sent from the Pharo Smalltalk mailing list archive at Nabble.com. > > -- Best regards, Igor Stasenko AKA sig.
