[Pharo-project] ClassBuilder depending -in some way- on text

Chris Cunningham cunningham.cb at gmail.com
Fri Mar 9 12:13:50 EST 2012


On Fri, Mar 9, 2012 at 2:09 AM, Igor Stasenko <siguctua at gmail.com> wrote:
> On 9 March 2012 04:28, Chris Cunningham <cunningham.cb at gmail.com> wrote:
>>
>> Guille,
>> this likely pre-dates Exceptions (or at least wide-spread use of
>> them).  A much better direction is to use exceptions (or
>> Announcements?) here, and have a process capture them and display
>> appropriately for what they can display. The mechanism should probably
>> include Class name and exception text, which could be rich-formatted
>> as above, or plain formatted for command-line UI, or interrogated for
>> other observers.
>>
> if you replace it with exception, it doesn't means that exception should
> use text and bold..
> so...
>
Right, if with exception, just the raw data needed, no fancy
formatting (that's for the UI or presentation to handle, if it wants
too).




More information about the Pharo-dev mailing list