[Tutor] string list in alphabetical!

Albert-Jan Roskam fomcl at yahoo.com
Mon Oct 21 21:23:31 CEST 2013


--------------------------------------------
On Mon, 10/21/13, Lukas Nemec <lu.nemec at gmail.com> wrote:

 Subject: Re: [Tutor] string list in alphabetical!
 To: tutor at python.org
 Date: Monday, October 21, 2013, 1:21 PM
 
 On 10/21/2013 01:16 PM, Steven
 D'Aprano wrote:
 > On Sun, Oct 20, 2013 at 09:15:05PM -0500, Sammy Cornet
 wrote:
 >> Thank you for help Steven! I intend to correct it.
 But also I would
 >> like to know if I wrote the correctly in order to
 the output that I'm
 >> looking for?
 > I don't know, I didn't study your code in that much
 detail.
 >
 > Why don't you fix the problems you already know about,
 then try running
 > it, and see if it works as you expect?
 >
 > 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
 
 
step 5 might also precede step 3




More information about the Tutor mailing list