On Mon, Oct 21, 2013 at 01:21:59PM +0200, Lukas Nemec wrote:
> On 10/21/2013 01:16 PM, Steven D'Aprano wrote:

> >That is the normal process of programming:
> >
> >1) write some code
> >2) fix the bugs until it will run
> >3) test if it works correctly
> >4) repeat until done
> >
> >
> I'd like to upgrade that process :D ...
> 
> 1) think about your problem
> 2) if there are some heplful libraries that can make it way easier, use them
> 3) write some code
> 4) fix the bugs until it'll run
> 5) write unittests
> 6) test if it works correctly and if unittests pass
> 7) repeat until done


Heh, very true! But the most important step is step 1, think about your 
problem. The biggest mistake in programming is to start writing code 
without thinking the problem through first. Instead, a good start is to 
think about how you would solve the problem if you were doing it by 
hand.


-- 
Steven
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to