2009/7/29 Mariano Martinez Peck <marianop...@gmail.com>: > On Wed, Jul 29, 2009 at 5:11 AM, Damien Cassou <damien.cas...@gmail.com> > wrote: >> >> 2009/7/28 Mariano Martinez Peck <marianop...@gmail.com>: >> > MacOSXPlatform isActivePlatform >> > >> > In all places? Obviously, the same with the other platforms. >> > >> > Is there a reason I don't see? >> >> I don't like this solution because it depends on the existence of the >> MacOSXPlatform class which is an implementation detail. > > Why you say MacOSXPlatform is an implementation detail? Perhaps we can ask > this messages to SmalltalkImage and then this delegates to the platform?
Because this version forces the class MacOSXPlatform to exist in the image. It adds a strong dependency on the implementation of the Platform library (namely having classes for each kind of platform). -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project