Sunday, March 25, 2012

Project 2

Just finished up Project 2, and I have to say that that was really frustrating. It wasn't project's fault, it was mine, but it was really frustrating all the same. It turns out that I had accidentally misspelled one of the names of my variables, and so it wasn't getting used at a key point in the function. This meant that it would spit out the wrong numbers again and again and again, and since the typo was so minor I couldn't see it. I spent forever poring over that code trying to find what was wrong, and it turned out that I had just switched two letters. I know it wouldn't be very practical, but sometimes I wish that python had a spellchecker.

No comments:

Post a Comment