683
there goes my motivation
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
That's how you find that one variable that isn't used anywhere but breaks everything if you remove it.
Then you fill the fucking code with print statements because you don't know to use debug, realize the variable feeds some stupid fucking function that does nothing but has to be there and a few hours later comment out said print statements and just re add the variable.
You know, it occurs to me that doing that with print really isn't any different than the accepted method of debug logging other than where the output is directed to.