Former dev left me a really helpful note in his code!

  • 14
    I was debugging some c++ code and stepping through the the code a comment I found was:
    // the next line causes the crash

    and yes the application crashed when I stepped over that line.
  • 3
    Now comes the nice question: which bug?
  • 4
    Best code comment for me so far. From 3 years ago at that time:

    // Quick hack to make it work, will crash if A or maybe B, didn't really test. Will fix next monday.
  • 2
    add a "hours wasted 2 debug" counter and move an with your life
  • 3
  • 0
    If he knew more, he could've probably fixed it
  • 0
    Are there any bugs that aren't inside of a loop? Lol
Add Comment