[Pharo-project] KomHttpServer in pharo 1.2

Mariano Martinez Peck marianopeck at gmail.com
Wed Oct 6 03:37:33 EDT 2010


I've cc the authors that are in the squeaksource project.

2010/10/6 Guillermo Polito <guillermopolito at gmail.com>

> Jaja, you're right :).
>
> What is better?  Having SmalltalkImage or OSPlatform hardcoded there?  If
> we decide the right answer is SmalltalkImage, then we should change the
> deprecation in SmalltalkImage which currently is:
>
> *platformName
>     "Return the name of the platform we're running on"
>
>     self deprecated: 'Use OSPlatform'.
>     ^ OSPlatform platformName*
>
> And maybe it's better as
>
> *platformName
>     "Return the name of the platform we're running on"
>
>     self deprecated: 'Use OSPlatform'.
>     ^ self os platformName*
>
> Cheers!
>
>
> On Tue, Oct 5, 2010 at 6:36 PM, Henrik Sperre Johansen <
> henrik.s.johansen at veloxit.no> wrote:
>
>>  On 05.10.2010 23:29, Guillermo Polito wrote:
>>
>>> Why not
>>>
>>> self class environment platformName
>>>
>>> ?
>>>
>> Because it doesn't work? ;)
>>
>> The class environment is the SystemDictionary instance containing classes
>> and globals, not the SmalltalkImage instance,
>> (Smalltalk is now a shortcut for the sole SmalltalkImage instance), where
>> you find access to OSPlatform through the #os delegation method.
>> SmalltalkImage platformName is deprecated in 1.2, the cross-dialect way to
>> do it is through using Smalltalk os platformName.
>>
>>
>> Cheers,
>> Henry
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project at lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20101006/6faf70e5/attachment-0001.html>


More information about the Pharo-dev mailing list