Cross-platform path specification (was RE: Access directory relatively)

Andrew C. Greenberg werdna at mucow.com
Tue Aug 6 19:02:38 UTC 2002


How about the comma, since directory construction is so much like 
concatenation?

On Tuesday, August 6, 2002, at 02:32 PM, Andreas Raab wrote:

>>>> dir := FileDirectory default, 'foo', 'bar', 'baz'.
>>>
>>> I like this.
>>
>> The selector #, is commonly used for contatenation of
>>  collections (and composites); not for routing.
>>
>> Why not:
>>
>>     dir := FileDirectory default / 'foo' / 'bar' / 'baz'.
>
> 'cause that selector is commonly used for division?!
>
>> or
>>     dir := FileDirectory default @ 'foo' @ 'bar' @ 'baz'.
>
> And that for point creation?!
>
> ;-)
>
> Cheers,
>   - Andreas
>
>




More information about the Squeak-dev mailing list