[fpc-pascal] Comparing version numbers
aj at getopenlab.com
Sat Jun 3 18:36:02 CEST 2006
> Regarding TDD (Test Driven Development) look at the following websites:
> In short - You write a test, Write the code, Run the tests, Refactor.
> Then repeat the whole process... The first 3 steps should be
> completed in under a minute. As I said, it is very different to
> traditional programming style, but once mastered, you can't think of
> programming any other way.
Well my only real worry was whether I needed to do exception catching on the
strToInt calls, but I cannot imagine a dataset where my other functions
wouldn't ensure I have valid inputs for those.
I'm checking your links though - it may well be worth running through it.
I should just mention this function is actually part of a lazarus project, but
since it's not visual in any way and doesn't use the LCL at all, I reckoned
fpc-pascal would be a more appropriate place to ask questions.
"there's nothing as inspirational for a hacker as a cat obscuring a bug
by sitting in front of the monitor" - Boudewijn Rempt
Chief Software Architect
+27 82 726 5103
More information about the fpc-pascal