Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 1996 09:14:34 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        dg@root.com
Cc:        michaelh@cet.co.jp, terry@lambert.org, ponds!rivers@dg-rtp.dg.com, dyson@freefall.freebsd.org, freebsd-hackers@freefall.freebsd.org
Subject:   Re: More info on the daily panics...
Message-ID:  <199611081614.JAA12133@phaeton.artisoft.com>
In-Reply-To: <199611080307.TAA04492@root.com> from "David Greenman" at Nov 7, 96 07:07:52 pm

next in thread | previous in thread | raw e-mail | index | archive | help
[ ... somone's proposed assert model ... ]

>    We've been down this road before. The asserts model isn't very well liked
> by a lot of people, including myself. It tends to bloat the sources with a
> lot of unuseful checks and isn't flexible enough to accomodate more
> algorithmically complex checks.

For what it's worth:

	Proper interface abstraction precludes the need for 
	algorithmically complex checks.

The need for complexity arises from the same statite (stateful object)
being modified on both sides of the interface.  Interfaces are to
abstract state, not to imply it.

The number of identifiable cross-interface statite manipulations that
exist is another was to say "minimum level of fractal complexity visible
to an interface consumer".

Or to put it in English terminology instead of mathematics:

	Complexity is inversely proportional to elegance

You can put both of these in the "fortunes" file if you attribute them.

8-).

					Regards,
					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611081614.JAA12133>