[Q] Modules- just classes or more?

goran.hultgren at bluefish.se goran.hultgren at bluefish.se
Mon Feb 25 19:07:22 UTC 2002


Henrik Gedenryd <h.gedenryd at open.ac.uk> wrote:
> goran.hultgren at bluefish.se wrote:
> >> Repository>>contentsOn: is used for writing the content of a module. It is
> >> simply a 'fileOut'
> > 
> > If you take a closer look the first part is for writing the contents of
> > defined names that are not Behaviors nor Modules. It calls
> > variableDefinitionFor: to produce the representation that can recreate
> > the defined name when loading back in.
> 
> I wasn't sure about this for a while, but now I am of the opinion that
> modules should only define the variables, and not their contents.

I agree.

[SNIP of good arguments]
> But I left the hook there so that one could do something with it anyway if
> one would want to.

Perhaps we should comment that a bit.

regards, Göran



More information about the Squeak-dev mailing list