this post was submitted on 07 Jul 2023
1813 points (98.1% liked)
Programmer Humor
32398 readers
621 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 have used them occasionally. It's sometimes easier to use logging because you can dump an enormous amount of information and quickly then look through it if you already know what kind of information you want to look at. Debuggers are better when you have no idea what the hell is going wrong and need to get a little bit of info from everything instead of a lot of info from one thing.
I work with 20 year old legacy spaghetti code, the debugger has become one of my most treasured tools.
I also work with 20 year old spaghetti code, but my software is primarily middleware and debuggers aren't allowed on the full system where I'd actually be able to reproduce the issue. Insane amounts of logging statements have become my most treasured tool.
Grep log will outlive us all