[Modules] Upper case message names for accessing modules
Henrik Gedenryd
h.gedenryd at open.ac.uk
Wed Feb 20 16:17:17 UTC 2002
Don't forget that I neither proposed the feature of uppercase messages, nor
have I defended it. (That doesn't mean, btw, that I am against it.) But as
we know, Dan and Stephane have disagreed about language issues before!
>> For ellipse := (Module path: #(Squeak Morphic Core Basic)
>> class: #EllipseMorph) new
Everyone seems to miss the fact that Module is also defined in another
module, so you wouldn't be able to write code like this! So how do you then
make _any_ reference to something outside your own module? (It's not
impossible.)
That's why I said there is a bootstrapping issue here.
But it seems what you guys want to do here is to eliminate global variables
as a whole from the language:
>> For ellipse := (Module path: #(Squeak Morphic Core Basic)
>> class: #EllipseMorph) new
-- and that could have been done already in the original Smalltalk, but the
choice was made not to. They actually did that in Self, but single
inheritance isn't powerful enough for Self's solution.
Henrik
PS. Can't we find an even more minor issue to debate, to keep us from ever
dealing with the important stuff?
More information about the Squeak-dev
mailing list
|