I just came across http://wiki.squeak
.org/squeak/5929 and I think it has
a great potential. I quickly put together a couple of ideas
from it
into GNU Smalltalk's file and directory classes, which I
attach.
The only incompatible change is that Directory>>#do:
now returns
File/Directory objects, not names. That was a mistake, and
surprisingly
I found no user in GNU Smalltalk outside of File and
Directory themselves.
Now, the RFC is: should the patch go in, or is it just an
incomplete
transition?
However, implementing more ideas from that wiki page would
require a
rewrite of File and Directory. It would be great also to
rewrite the
current VFS classes so that they would be accessed with
decorators/adaptors as in the wiki page (currently GNU
Smalltalk has
some problems with files that include `#' characters)
because of VFS.
Actually, I don't mind incompatible changes in this area as
long as the
transition is well documented.
I think it would make an even better summer of code project
than the
ones already listed if you want to learn about OO design.
Personally,
I'd love to mentor this one.
Paolo
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|