Login  Register

Re: Traits versus packages

Posted by Alexandre Bergel-4 on Apr 30, 2010; 3:59am
URL: https://forum.world.st/Traits-versus-packages-tp2068491p2076479.html

One of the thing that it may hamper readibility, is when browsing the  
code through a Monticello Browser or a webbrowser.

Alexandre


On 29 Apr 2010, at 10:10, Johan Fabry wrote:

>
> Not necessarily, the browser should display uses: TraitX, like it  
> does now. So when browsing the code there is no perceived difference.
>
> On 29 Apr 2010, at 03:07, Tudor Girba wrote:
>
>> It also should be noted that it is completely obscure when trying  
>> to understand a piece of code :)
>>
>> Cheers,
>> Doru
>>
>>
>> On 28 Apr 2010, at 20:03, Alexandre Bergel wrote:
>>
>>>> Or can we make a traits installer, that performs the redefinition  
>>>> of target classes? First check if the target classes already  
>>>> declare a uses:, and if not add it. Sounds like simple  
>>>> metaprogramming ...
>>>>
>>>> Any comments on this 'solution'?
>>>
>>> Although not perfect, it is easy and efficient.
>>>
>>> Alexandre
>>
>
> --
> Johan Fabry
> [hidden email] - http://dcc.uchile.cl/~jfabry
> PLEIAD Lab - Computer Science Department (DCC) - University of Chile
>
>
>
>
> _______________________________________________
> Pharo-users mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users


_______________________________________________
Pharo-users mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users