[squeak-dev] The Trunk: Morphic-mt.1770.mcz
lecteur at zogotounga.net
Fri Jun 11 06:32:35 UTC 2021
> Updates representation of integers in ObjectExplorer. For a small discussion, see http://forum.world.st/The-Trunk-Morphic-mt-1769-mcz-tp5129501p5129804.html
I'm a bit late to the party, but may I suggest to make the whole integer
representation in ObjectExplorer a preference?
Rationale: when peeking at an ObjectExplorer tree, one gets a first idea
of the structure of an object. Having a subtree for each Integer gives
the wrong feeling, that there is some extra structure there, while it is
only some extra information about the same very simple object.
So there is an obfuscation inherent to having the explorer represent in
the very same way two different categories of information: one about
structure, and one about representation.
This goes for strings too, although in the opposite way: if you explore
'abc', you will not get any information on $a, $b or $c from there (like
their ASCII code, for example) - this times the explorer hides structure.
I am not sure about my suggestion for a preference, so let me restate
the problem as I see it as follows:
Why is an ObjectExplorer telling you all these things about 3 and
nothing at all about 'three'?
More information about the Squeak-dev