Doru and Yuriy

String is not a good API for reflective operations. This is what you are doing with asPackage.
When I want to access to a class I do
    Class
    or Smalltalk globals classNamed: 'Point'
    a compile method Point>>#x
    and not 'Point?x' asCompiledMethod
    I would prefer to have Package named: 'jkljk' than the string behavior.

and what if I want to reflect on code that is remote?

So I maintain that we are polluting String with reflective operations that it should not have.

Stef

Reply via email to