[squeak-dev] replacing getSystemAttribute:

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Sun Mar 7 18:03:37 UTC 2010


2010/3/7 Bert Freudenberg <bert at freudenbergs.de>:
> On 07.03.2010, at 18:36, Nicolas Cellier wrote:
>>
>> 2010/3/7 Bert Freudenberg <bert at freudenbergs.de>:
>>> On 07.03.2010, at 17:43, Nicolas Cellier wrote:
>>>>
>>>> I want message getSystemAttribute: to get private because the
>>>> argument is cryptic, and implementation dependent.
>>>
>>> While I agree that it's better to use the symbolic accessors, the system attributes are precisely defined and should not be "implementation dependent".
>>>
>>> - Bert -
>>>
>>
>> Sure.
>> It works as long as new attribution are coordinated.
>> Now imagine Pharo goes with it's own VM...
>
> I'd very much hope there is no need for that.
>
>> By now, you can see machine specific usage of attributes 1200, 1201.
>> I find it hard to understand, and not commented. It's does not adhere
>> original Smalltalk spirit.
>
> Sounds like a hack. What is it?
>
> - Bert -
>

Machine specific
1200 itsyVoltage (well commentged)
1201 code for recognition of HFS Plus onMac... (isActiveDirectoryClass)

Nicolas



More information about the Squeak-dev mailing list