[squeak-dev] Re: A reengineering the CompiledMethod trailers
Andreas Raab
andreas.raab at gmx.de
Tue Dec 15 22:28:59 UTC 2009
Eliot Miranda wrote:
> <rant>I've been reading Codes at Work by Peter Seibel, and it's a quite
> brilliant book. A couple of people in the book crtiticise the OO crowd
> for unnecessary abstraction. KISS is really important, as in a
> networked world is compactness. I think it is wise to avoid unnecessary
> decomposition (heavy emphasis on unnecessary here; if it is necessary
> then by all means decompose). Arguably unnecessary decomposition are
> the fragments of SystemDictionary that have gone into SystemNavigation,
> SmalltalkImage et al (I like SystemNavigation, but SmalltalkImage seems
> pointless). Much better to have a well thought-out distinction such as
> development vs deployment than an abstraction of a function into a
> class. Related functions belong together in a single class. One would
> be insane to break out the arithmetic functions on Point (+,-,<<, >= et
> al) into a separate ArithmeticPoint from graphical operations such as
> e.g. isInRectangle:. So for me breaking out the source pointer, having
> a separate byte array for bytecodes etc is all quiche. Keep them
> compact. Likewise, SourceFilesArray and SmalltalkImage are incoherent
> fragments. Why not have a SystemFileManager that provides an interface
> to the sources files and the code to deal with renaming images etc?</rant>
Amen.
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|