On 01.04.2010, at 10:06, Marcus Denker wrote:
>
>
> On Apr 1, 2010, at 9:43 AM, Andreas Raab wrote:
>
>> 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.
Hey guys, don't ruin the peace just yet, okay?
http://xkcd.com/386/
> It's not hostility. Not at all. It's my *love* for Squeak that was/is the
> problem. I could just not do nothing, *because*
> I loved it so much... my mistake.
Loving something is never a mistake.
>> Even more so since CompiledMethod>>asString DOES NOT EXIST in Squeak.
>
> So then I was wrong with this analysis... but on the big picture, it is true.
> And you know it.
>
> Marcus
Yep.
Besides, who hasn't been surprised the first time you use #getSourceFromFile
returns a Text? Certainly I was. It makes sense since source code for us is of
course not just a string, but it's surprising nonetheless.
/back to lurking
- Bert -
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project