[squeak-dev] Re: Rewriting 'ReadStream on: smth'

Andreas Raab andreas.raab at gmx.de
Wed Jun 4 16:53:58 UTC 2008


Damien Cassou wrote:
>>> The RefactoringBrowser allows this change to be done simply in all the
>>> method of the image.
>> Yeah, but it also pretty prints the code.

Eeeek!

> Another advantage (thank you Philippe):
> 
> - the source code is prettier :-D
> 
> (the only problem is with the strange meaning RB assigns to 'pretty' :-)

Indeed. Don't do that. Reformatting code that ain't yours should be done 
with great care if at all. Letting some so-called "pretty" printer do it 
on a handful of methods at random is just evil.

Cheers,
   - Andreas



More information about the Squeak-dev mailing list