loading...

re: What's the dumbest bug you caused yourself VIEW POST

TOP OF THREAD FULL DISCUSSION
re: The biggest face-palm bug I've faced was while working on a language runtime. I was implementing a method aliasing feature that, if working correct...
 

I just laughed so hard I woke the dog up.

My project for PHP this past semester was a site to track my errors with the idea that eventually you could have multiple users, share them, think of things to look for in your own code, learn, etc. I hadn't thought about the debugging issues that would arise when my code and text was full of the word "error" and oh man, the number of times I would stare at the screen because of the error message that showed up... only to realize that no, that WAS what was supposed to happen, I was TRYING to show those error messages.

Eventually I just added a temporary class to make all of those "error" messages bright green.

Code of Conduct Report abuse