> On 09 Nov 2015, at 09:29, Thierry Goubier <[email protected]> wrote:
> 
> 
> 
> 2015-11-09 13:05 GMT+01:00 Sean P. DeNigris <[email protected] 
> <mailto:[email protected]>>:
> Ben Coman wrote
> > But Class has an instance variable 'name',
> > and Class subclasses --> {ProtoObject class}
> 
> He he, of course. Thanks for the clarification!
> 
> 
> Ben Coman wrote
> > should that instance variable and accessors be renamed to 'classname'?
> 
> YES to a rename! Let's remove all mysterious gotchas for newbies (and me ha
> ha). This is an obscure and scary bug, because it prevents all operations on
> the package, so one can not even commit or file out the package.
> 
> Are you sure it would eliminate the gotcha? Can't you trigger it again with 
> self classname: 1?
> 
> I'd feel a bit safer with some defensive programming (an assert: in 
> class>>#name?). And I like the elegance of AClass name.
> 

Yes, I feel the same. We should check for these cases but we should not make 
the APIs horrible. 

        Marcus

Reply via email to