[BUG] FileDirectory>>exists

Tim Rowledge tim at sumeru.stanford.edu
Thu May 22 17:08:51 UTC 2003


Julian Fitzell <julian at beta4.com> wrote:

> Anthony Adachi wrote:
> [...]
> > 
> > Although, I'm not sure what a good name might be
> > Filename sounds, to my ears at least, too much like
> > simply a class without any further responsibilities
> > other than naming.
But that would be the point of Filename; separate out the ludicrously
complex task of handling the naming of files so that other classes can
deal with the other parts. Plain good factoring.

You don't ask a Filename to rename or delete or whatever. You just
expect it to get the name right - which is not simple.

tim
-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Useful random insult:- One flower short of an arrangement.



More information about the Squeak-dev mailing list