18

Why are people complaining about debugging?
Oooh it’s so hard.
It’s so boring.
Can someone do this for me?

I honestly enjoy debugging and you should too..
if it’s not your code, you’ll get to understand the code better than the actual author. You’ll notice design improvements and that some of the code is not even needed. YOU LEARN!

If it’s your own code (I especially enjoy debugging my own code): it forces you to look at the problem from a different perspective. It makes you aware of potential other bugs your current solution might cause. Again, it makes you aware of flaws in the design. YOU LEARN!

And in either case, if it’s a tricky case, you’ll most likely stop debugging at some point, refactor the shit out of some 50-100 line methods and modulize it because the original code was undebuggable (<- made up a new word there) and continue debugging after that.

So many things I know, I know only because I spend days, sometimes even weeks debugging a piece code to find the fucking problem.

My main language is java and i wouldn’t have believed anyone who told me there’s a memory leak in my code. I mean, it’s java, right? We refactored the code and everything worked fine again. But I debugged the old version anyway and found bugs in Java (java 6.xx I believe?) which made me aware of the fact that languages have flaws as well.. GC has its flaws as well. So does docker and any other software..

Stop complaining, get on your ass and debug the shit out of your bugs instead of just writing it in a different way and being glad that it fixed the issue..

My opinion.

Comments
  • 1
    I love programming
    But debugging is annoying wen all the obvious stuff is not wrong
    E.g i once spent 2 days trynna figure y somethin didnt work and turns out there was an issue with the imports
    I know, i know rookie mistake
    But i am a rookie lol
  • 0
    It can be frustrating. It can be rewarding. I hate it when there is a bug that silently destroys data or causes problems for customers. The silent destroyer requires a lot of repair work of it can be repaired at all. Even though it can not always be prevented I feel we failed.

    Love it when I solve the puzzle and make it better.
  • 0
    *spit-a-loo*
Add Comment