db2
link
fedilink
81Y

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.

db2
link
fedilink
61Y

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.

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.7K Comments
  • Modlog