No Hungarian Notation in Smalltalk - was [KCP] Event notification call for feedback

Brent Pinkney brent.pinkney at aircom.co.za
Tue Nov 4 15:48:15 UTC 2003


On Tue, 04 Nov 2003 07:27:31 -0800, Michael Rueger 
<michael at squeakland.org> wrote:

> Brent Pinkney wrote:
>
>> You are arguing that we should change the name of MessageNotUnderstood 
>> to MessageNotUnderstoodException or ExceptionMessageNotUnderstood. 
>> Surely by extension we chould change Integer to ClassInteger ans String 
>> to ClassString ?
>
> No, because an the integer class is still about integers, whereas the 
> [ x /y ] on: DivideByZeroException do: [ self inform: 'oops' ]
>
> it speaks (small-talk) to you ;-)

That is of course your prerogative, but you forget that the precedent of 
voiding Hungarian Notation has already been chosen, MessageNotUnderstood 
and DivideByZero being the cannonical examples.

So the other *Exception classes in the image are incorrect.

Whilst no one class is sufficent cause to get overly upset about, enough 
poorly named classes will create sufficient entropy to destroy a large 
portion of the aethetic aspect of Smalltalk.

- B



More information about the Squeak-dev mailing list