[REBOL] Re: [TDD with run.r] Help needed please...
From: GedB::Rushcoding::co::uk at: 13-May-2007 15:40
Robert,
And that is the difference in philosophy.
I've been dragged into too many projects where they build the whole
interface before testing the functionality. Then the functionality
proves unfit for purpose, but everything has been lumped together into
the interface and its just too expensive to put anything right.
In my experience GUI isn't difficult at all, as long as you take a
contractual approach to the design rather than sequential.
When the user does this, the preconditions must be satisfied. After
the application has changed state then the postconditions must be
satisfied. It doesn't matter what sequence the events occur in, the
contracts always remain the same.
Then you can make certain that the postconditions of A satisfy the
preconditions of B. If they do not, then you have a problem. Either
a contract is not being satisfied or the contract is missing an
important detail.
My personal experience is that everything becomes much easier once the
user comes into play. Then you get to find out what is really needed.
The sooner you can bring them in, the better.
Ged
On 5/13/07, Robert M. M=FCnch <robert.muench-robertmuench.de> wrote: