[Pharo-dev] what is the new way to do Smalltalk at: #MyClass?

Esteban Lorenzano estebanlm at gmail.com
Mon Aug 26 05:26:32 EDT 2013


I do not see why

On Aug 26, 2013, at 11:14 AM, Damien Cassou <damien.cassou at gmail.com> wrote:

> On Mon, Aug 26, 2013 at 10:56 AM, Esteban Lorenzano <estebanlm at gmail.com> wrote:
>> this was already discussed. With #asClass and relatives what you have is a better abstraction jut because you are decoupled of "Smalltalk globals", it is not a big win now, but it open doors to better designs with environments, etc.
>> At least, that was my understanding when the issue arise at the beginning.
> 
> 
> thinking about it, wouldn't "self asClass: #MyClass" be easier to
> adapt for environments/packages than "#MyClass asClass" ?
> 
> -- 
> Damien Cassou
> http://damiencassou.seasidehosting.st
> 
> "Success is the ability to go from one failure to another without
> losing enthusiasm."
> Winston Churchill
> 





More information about the Pharo-dev mailing list