On Apr 1, 2010, at 12:00 AM, Niko Schwarz wrote:

> Hi, I just bumped into this. Probably this is intended somehow, but it
> does seem weird enough to ask …
> 
>    (Object >> #hash) asString class
> 
> returns 'Text'.
> 
> 

I think this is historical. Methods *used* to return Strings, and the Browser 
highlighted the first line.

Than, when the possibility to have "Rich text" kind of methods (with bold, 
colors, links) added in Squeak,
this was "implemented" by the "do the smallest change possible, we will rewrite 
everything anyway" strategy.

Never clean up! Never Refactor!

Of course, like always, the "big rewrite from scratch" never happened. To the 
contrary, all the time more and
more "do the smallest change possible" changes where introduced on top, up to 
the point that the whole system
was just *bad*.

There is something to be learned from this, I guess.


        Marcus

--
Marcus Denker  -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to