in reply to RE: RE: On elegant coding...
in thread Just thinking ...

But I think it is perfectly OK to generate expectations of functions and develop code whose logic is dependent on it.

Replies are listed 'Best First'.
RE (tilly) 4: On elegant coding...
by tilly (Archbishop) on Oct 20, 2000 at 12:44 UTC
    It is not really OK, but it is unavoidable.

    That said, it is still to be avoided where feasible.

    There is a big picture principle here. And that principle is that our ability to develop software is fundamentally limited by our ability to keep track of what is going on. So every step we take to avoid developing (or to remove) dependencies is another step by which we have extended what we can do with the software we are developing. You have by that much made it easier to develop more, fix bugs you find, and migrate support from one person to another.

    Pick up virtually any book on software engineering for more.