this post was submitted on 23 Jul 2023
688 points (96.2% liked)
Programmer Humor
32495 readers
435 users here now
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.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I've built little things that already have a solution when that other solution either didn't do it the way I had in mind or did more things than I needed it to. It really depends on how you're valuing your time and knowledge/experience in the end.
Sometimes starting from someone else's code and stripping only to the functions you need is fun!
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.