[squeak-dev] Rewriting 'ReadStream on: smth'
Damien Cassou
damien.cassou at gmail.com
Wed Jun 4 15:54:51 UTC 2008
Hi,
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
readStream'.
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.
--
Damien Cassou
Peter von der Ahé: «I'm beginning to see why Gilad wished us good
luck». (http://blogs.sun.com/ahe/entry/override_snafu)
More information about the Squeak-dev
mailing list
|