When coding, everyone, eventually, has bugs in their code. Bugs can be caused by anything from forgetting a close-paren to accidentally typing on a Dvorak keyboard to compiling your .py file with the wrong flags, or even defining a function with sheep's blood instead of goat's. Many people have run into these problems, and, as with any task that a large group of people undertake, there are many approaches used. Some people scream at their code until it fixes itself, and others sacrifice a keyboard key to the Python gods. Still, others actually try to read and write code. Many have been tortured or even executed as a result of committing this heresy. We, we chosen few, have decided to follow this dangerous path and interact with the dark, Pythonic magic. So, now, I call to you and ask this heretical question: How do you go about trying to fix bugs?
Alright. I'll start. I like to read my code and follow the data from input to output to make sure that all the right dark rituals are being used on it.
Now, you go.
Laptop w/ Ubuntu 14.04