28 Apr 2012
Here is the rule of thumb:
The task should be as big as possible that you can code the whole task without producing errors and without testing.
If a task takes you 30 minutes and you later discover 1 error, the task is in an appropriate size.
If you can code a 30-minute task without producing errors, next time assign a 45-minute task instead.
If you code a 1-hour task and later discover 10 errors, next time assign a 30-minute task instead.
Testing is time-consuming, and it will slow you down. But you cannot ignore testing; you still have to do it…