Wanting To Find A Bug
This happened to me last week. Yet another lesson learned. I was working on debugging some code at work. Someone was complaining about some functionality in an element we draw on screen. In order to better diagnose the problem, I wanted to create an example and see if I couldn’t get the problem to reproduce. Not a bad first step. The problem was that as I wrote out the code I made a typo on the code I was writing. I wrote something like the following snippet: ...