47
Trithon
5y

My code broke for no reason.
I added a log statement to see why.
*tests code*
It worked....
What the 何?!

Comments
  • 26
    Ooo, I’ve done that.
    Logging slows something down and you avoid a race condition.
  • 2
    Nan desuka
  • 3
    Come on man.... Everyone knows that codes don't work until you start a debugger or put print statements.

    <tsk> <tsk>
  • 0
    I faced it many times, most of it was because file wasn't saved or saved but changes are yet to be reflected.
  • 0
    My luck:
    > Tests code to see if it runs
    > Roll Nat 20 critical success.
    > Save
    > Exists IDE for the night.
    Next-day.png
    > Launch IDE Open Project.
    > Run code because of paranoia.
    > Error...
    > WhatFuckBatman.mp4
    > Save file. Rerun....
    > ????
    > CharlieSheenLevelProWinning.
    > It works.
    > CONSOLE OUTPUT: Hello World.

    Anyone ever have load in errors that just vanish? Maybe its my computer sipping the Haterade again or maybe it's Maybelline. It's a pain is what it is.
Add Comment