[squeak-dev] Rewriting 'ReadStream on: smth'
philippe.marschall at gmail.com
Wed Jun 4 16:30:56 UTC 2008
2008/6/4 Damien Cassou <damien.cassou at gmail.com>:
> I'm interested in enhancing the code of Pharo (and maybe Squeak if the
> community is interested).
> Currently, I'm thinking about replacing 'ReadStream on: expr' by 'expr
> I can see the following advantages of this change:
> - no more direct reference on ReadStream where it is not necessary
> - allows different implementation of #readStream depending on the receiver class
> - clarify the code
> Can you detect any problem with this approach?
> The RefactoringBrowser allows this change to be done simply in all the
> method of the image.
Yeah, but it also pretty prints the code.
More information about the Squeak-dev