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

Andreas Raab Andreas.Raab at gmx.de
Tue Aug 6 18:32:08 UTC 2002


> > > 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