Lists Home |
Date Index |
On Wed, 2004-04-07 at 00:14, Rick Marshall wrote:
> actually len i think the trick is to keep building simple things that
> can interact. the total system can be amazingly complex, but each
> component simple, verifiable, and understood.
I agree completely. The behavior of an ant is comparatively simple, but
an ant-hill can be considered an organism with very complex behavior.
The same idea holds in object oriented programming. Test driven
methodologies, such as XP, provide very good examples of how this works.
Each class in a system should be fairly simple. Automated unit and
function tests makes the behavior of objects, and groups of interacting
objects, well known. As a result, complex systems can be built, if not
easily, at least with a high degree of confidence that the thing will
> so, in this matter i disagree. lots of simple things are still simple
> things, even if their interaction is so complex it can never be fully
And the amazing thing is that when building with simple things, you
don't even have to completely understand, or control, all the
interactions to make the more complex things work.