|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: Starting a Large Projectby MAXOMENOS (Scribe) |
| on Feb 11, 2002 at 21:29 UTC ( [id://144764]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I can't add substantially to the material posted here, so I'll add a nit instead.
After you know what a piece of code should do, and before you implement that piece of code, you should write a unit test for that piece of code. This is just so you can be sure that your component works properly, before you go on to build bigger and badder things. The more crap your unit test does to your component, the better off you will be. Test basic functionality, test weird cases, do stress-tests, throw bad data at it, etc. Learn how your components behave, improve them, and get your component as good as you can possibly get it. It might not hurt to throw in a couple of performance tests, either. I've gotten bitten by not doing proper unit testing. On the other hand, I once managed to turn my reputation around from 'incompitent' to 'damn, he just saved the contract' by doing proper unit testing. Just two cents, and sorry I don't got more.
In Section
Meditations
|
|
||||||||||||||||||||||||||||