[squeak-dev] Object>>className

Bernhard Pieber pieber at me.com
Sun Mar 26 19:31:38 UTC 2017


I agree.

Cheers,
Bernhard

> Am 24.03.2017 um 19:36 schrieb Levente Uzonyi <leves at caesar.elte.hu>:
> 
> On Fri, 24 Mar 2017, Tobias Pape wrote:
> 
>> 
>>> On 24.03.2017, at 18:10, Eliot Miranda <eliot.miranda at gmail.com> wrote:
>>> - doesn't provide much utility as it is effectively foo class name, and foo className saves one character.
>> 
>> Law of Demeter.
> 
> Blindly applying such ideas will result in a huge mess. In this case #className and #name cause more trouble than benefit. Object should shadow as few accessors as possible.
> 
> Levente
> 
>> 
>> Best regards
>> 	-Tobias



More information about the Squeak-dev mailing list