 How to reduce sloppy mistakes?
bsaunder: Use shorter code/compile/run cycles.  Use print statements instead of a debugger (much faster to scan input than step through a debugger).  If something doesn't work, it's likely related to the change you just made.  If you coded for a long time since last testing, it's much harder to mentally identify where the problem might be.It's ok if you don't get it perfect all of the time.  It's the 20 minutes debugging that's killing you.  Shorten your cycle and eventually you will get less sloppy (or immediately know where/what the sloppiness is before you even run).  It will be like that typo you "know" you made even before you finished typing (something won't feel right and you'll go back and fix it before you read the debugging output).