Weak support for directory manipulation in Squeak (?)

Colin Sarsfield colin.sarsfield at usa.net
Thu Apr 8 21:12:12 UTC 1999


>
>Colin Sarsfield wrote:
>
>This is the big question; one could decide to (a) handle files and
>directories using the same calls (create file could apply to a directory
>if the file name ends with the directory separator and delete could
>check what kind of file is being deleted), or (b) to handle them
>differently *but symmetrically* with separate primitives. Neither of
>these is currently the case. The code I sent out earlier was moving
>towards solution (b), largely because that's the way it's most
>frequently done, and the overhead is only 1 additional primitive. Are
>there good arguments for solution (a)?
>
Either way is fine as far as I'm concerned.  As directory manipulation seems 
to be platform-dependent, I'd probably opt for (b).

-- 
<==>
Colin Patrick Sarsfield
programming interests: BeOS, Squeak, Delphi, alternative OS's/languages, 
intuitive UI design, profilers, compilers





More information about the Squeak-dev mailing list