On 4/1/2010 12:12 AM, Marcus Denker wrote:
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!
Wow, Marcus. Your hostility towards Squeak is seriously amazing. Even more so since CompiledMethod>>asString DOES NOT EXIST in Squeak. It's a Pharo method. Of course, it's Squeak's fault that in Pharo, and Pharo only, CompiledMethod>>asString returns a text.
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*.
So what does that mean given that the method has a stamp of 'stephane.ducasse 8/9/2009 12:05'?
Cheers, - Andreas _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
