Thursday, November 20, 2008

Forays into Python I

I've been messing around with Python (a programming language) lately, and all I can say is, I'm really rusty when it comes to programming. Don't get me wrong, I love the whole process of debugging a program, but I have just spent an entire day trying to debug a program that should work, but doesn't. It compiled fine, but the output wasn't what it was supposed to be. It turns out, the indents in Python are critical rather than just for formatting or aesthetics. I simply had my return function tabbed to the wrong place. That took me a day and a half and a dozen different iterations to figure out. Lesson #1 learned.

No comments: