I have to think about what it means that have them in global (in terms of having different kind of value for binding). Stef Le 24/2/15 08:01, Marcus Denker a écrit :
On 24 Feb 2015, at 07:49, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
Just my 2 cents:
I find this really useful and have already implemented this extension in a couple of my packages, as writing:
RuleChecker check: (RPackageOrganizer default packageNamed: âKernelâ)
is much worse than:
RuleChecker check: âKernelâ asPackage
Sometimes I wonder if Packages should not be part of the Smalltalk globals namespaceâ¦
e.g. packages could have a nice reflective API:
MyPackage unload.
and even an API for using⦠e.g. a Compiler has a very tiny surface API:
OpalCompiler compile: ââ¦.â
(but I do not really like nested classes, which is what people will now suggestâ¦)
Marcus