[
Lists Home |
Date Index |
Thread Index
]
- To: Michael Kay <mike@saxonica.com>
- Subject: Re: [xml-dev] Another Microsoft XML patent
- From: Michael Champion <michaelc.champion@gmail.com>
- Date: Sun, 5 Jun 2005 09:15:36 -0700
- Cc: Bob Foster <bob@objfac.com>, xml-dev@lists.xml.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=U0BPZPBQy6dN0sjUGdN0mX1KHCUroymxZYHT2jMUISSc+w8dXa/toAeMQK74gOqjDNcisVO8hS0ZqrSzbX+/Pm+Pqsx8mMEp5aJcneh6ATOxdMTRQIdtIRF1TWRR4UmBzHKSmlbEN85iB9BXt/FUH2HNaZiB8/ny5T/ZE5812ww=
- In-reply-to: <42a1e7e4.4a3cf152.4d2b.02ebSMTPIN_ADDED@mx.gmail.com>
- References: <42A1D07F.5030002@objfac.com> <42a1e7e4.4a3cf152.4d2b.02ebSMTPIN_ADDED@mx.gmail.com>
- Reply-to: Michael Champion <michaelc.champion@gmail.com>
On 6/4/05, Michael Kay <mike@saxonica.com> wrote:
> What on earth is the "shape" of an object instance?
Perhaps this is the the same sense of "shape" --
http://c2.com/cgi/wiki?SoftwareHasShape
'Software has shape.
A program or other coherent collection of software (e.g. a framework
or a class library) is an object (lower case) that exists in a
multi-dimensional space. We can view that object through any of many
windows.
Through one window, we see the shape of the inheritance hierarchy.
Through another window, we see the object-ownership diagram. Through
another window we see the time-series behavior of the system ... the
sequence of object creations, deletions.
Through another we see the execution profile of the program running,
with big piles of execution on top of some statements, and very tiny
piles on others.
"Good" software has a "pleasing" shape.
If software has a "good" inheritance hierarchy, the shape of the
hierarchy will be pleasing ... not too broadly branched, not too tall,
fairly well-balanced.
If software is implemented efficiently, its execution profile will be
relatively flat, with no big peaks indicating hot spots.'
|