Agile programming (was Re: [P|C] Banksel)
Rolf email (remove spam text)
Your original assertion wash that the tests are simpler than the
program. Why is this comparing apples and banana pies?
I can see how at face value it may seem simple, perhaps the example is
trivial. How about I said "how do you test an 'savings account' where
interest is calculated/adjsuted with each deposit/withdrawal in a
multi-threaded environment."... then again, perhaps my industry-specific
bias makes that 'simple' operation a whole lot more complex to get
right.... like telling an EE to just get a 16-bit ADC for an analog
signal... and they freak when you have no idea about noisy ground
planes/power supplies, jitter and bandwidth.... and you say "What's
complicated about it?".
For the record, in a multi-threaded environment it is not unusual for
the test mechanisms to subtly (and sometimes not so subtly) alter the
process flow in such ways that the way the code works without the tests
is different to the way it works with the tests...
In reply to: <9A789761FE074F2FB49A7A5590DB5504@ws11>
See also: www.piclist.com/techref/microchip/devprogs.htm?key=programming
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the