Le 25/8/16 à 08:34, Yuriy Tymchuk a écrit :
Just my 2 cents:


instead of

#name asClass

we have to use

self class environment at: #name.


Maybe instead of #at: we can have #classNamed:?

Why not if it helps people :)
  Or something similar? Because 1) it’s not obvious that the method will give 
you a class, what if in the future and environment can also have a mapping of 
something else like packages?

Uko

On 25 Aug 2016, at 07:21, stepharo <steph...@free.fr> wrote:

Hi guys

We got a meeting at ESUG with all the compiler guys and james from gemstone.

Our goal is to have a full tool suite that can be parametrized by environments 
(so that

we can compile code in other space, or compile other code inside pharo).

I personnally started this effort one decade ago. Now the introduction

of #asClass and friend is simply destroying all our efforts. There was a 
discussion

in the past but we are not listened.

We will

    - packaged these extensions in a separate package

    - add rules to ban the use of such method in Pharo

    - fix all the use (again) to use the correct way to do it.


I can understand that for scripting this is easier but it cannot be at that 
cost and impact.

I hope that we will understand but we have to do something else than

fixing code that breaks our effort.


Stef, Marcus, Guille and Luc






Reply via email to