12076
----- - Issue 2347: Migrating some OS queries from SmalltalkImage to OSPlatform. This changes is really nice since it used the existing Platform classes for that they should. Now do you use Smalltalk os, Smalltalk platform but OSPlatform os OSPlatform platform This way OSPlatform is used for what it should. It would be nice if Squeak would follow this change, else we will add a compatibility package. Thanks Simon Denier. I like these changes that apply OOP thinking to the system. Distribution of responsibilities. Stef _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Why was SmalltalkImage >> os marked as deprecated?
I thought the result of previous discussion was that the methods themselves should be moved to separate classes (like OSPlatform), but the delegating method in SmalltalkImage should be kept... Cheers, Henry On Aug 3, 2010, at 4:30 55PM, Stéphane Ducasse wrote: > 12076 > ----- > > - Issue 2347: Migrating some OS queries from SmalltalkImage to OSPlatform. This changes is really nice since it used the existing Platform classes for that they should. > Now do you use Smalltalk os, Smalltalk platform but > OSPlatform os > OSPlatform platform > This way OSPlatform is used for what it should. It would be nice if Squeak would follow this change, else we will add a compatibility package. Thanks Simon Denier. > > > I like these changes that apply OOP thinking to the system. Distribution of responsibilities. > > Stef > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
> Why was SmalltalkImage >> os marked as deprecated?
> I thought the result of previous discussion was that the methods themselves should be moved to separate classes (like OSPlatform), but the delegating method in SmalltalkImage should be kept... if we have OSPlatform as in Sophie and all the infrastructure there (like isUnix, isMacOS...) do we want to duplicate it in SmalltalkImage? (except for compatibility with squeak). Ideally Smalltalk should be a simple lightweight lobby to access behavior Smalltalk platform -> OSPlatform Smalltalk vm Smalltalk globals. Stef > > Cheers, > Henry > > On Aug 3, 2010, at 4:30 55PM, Stéphane Ducasse wrote: > >> 12076 >> ----- >> >> - Issue 2347: Migrating some OS queries from SmalltalkImage to OSPlatform. This changes is really nice since it used the existing Platform classes for that they should. >> Now do you use Smalltalk os, Smalltalk platform but >> OSPlatform os >> OSPlatform platform >> This way OSPlatform is used for what it should. It would be nice if Squeak would follow this change, else we will add a compatibility package. Thanks Simon Denier. >> >> >> I like these changes that apply OOP thinking to the system. Distribution of responsibilities. >> >> Stef >> _______________________________________________ >> Pharo-project mailing list >> [hidden email] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > > > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
On Aug 4, 2010, at 12:46 06PM, Stéphane Ducasse wrote:
>> Why was SmalltalkImage >> os marked as deprecated? >> I thought the result of previous discussion was that the methods themselves should be moved to separate classes (like OSPlatform), but the delegating method in SmalltalkImage should be kept... > > if we have OSPlatform as in Sophie and all the infrastructure there (like isUnix, isMacOS...) do we want to duplicate it in SmalltalkImage? > (except for compatibility with squeak). > > Ideally Smalltalk should be a simple lightweight lobby to access behavior > > Smalltalk platform > -> OSPlatform > Smalltalk vm > Smalltalk globals. > > Stef My point exactly. I don't mind SmalltalkImage>>osVersion being deprecated, but the "lightweight lobby" delegate method SmalltalkImage >> os has been deprecated as well... (There is no corresponding SmalltalkImage >> platform as you mentioned) Cheers, Henry _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
ok!!!!
sorry I need to eat :) On Aug 4, 2010, at 1:07 PM, Henrik Johansen wrote: > On Aug 4, 2010, at 12:46 06PM, Stéphane Ducasse wrote: > >>> Why was SmalltalkImage >> os marked as deprecated? >>> I thought the result of previous discussion was that the methods themselves should be moved to separate classes (like OSPlatform), but the delegating method in SmalltalkImage should be kept... >> >> if we have OSPlatform as in Sophie and all the infrastructure there (like isUnix, isMacOS...) do we want to duplicate it in SmalltalkImage? >> (except for compatibility with squeak). >> >> Ideally Smalltalk should be a simple lightweight lobby to access behavior >> >> Smalltalk platform >> -> OSPlatform >> Smalltalk vm >> Smalltalk globals. >> >> Stef > > My point exactly. > I don't mind SmalltalkImage>>osVersion being deprecated, but the "lightweight lobby" delegate method SmalltalkImage >> os has been deprecated as well... > (There is no corresponding SmalltalkImage >> platform as you mentioned) > > Cheers, > Henry > _______________________________________________ > Pharo-project mailing list > [hidden email] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |