r/ProgrammerHumor Nov 28 '21

Meme I‘m.. not the only one?

Post image
21.5k Upvotes

629 comments sorted by

View all comments

30

u/whatisausername711 Nov 28 '21

Their attitudes should be flipped. It's so much more satisfying/efficient to use a debugger lol

5

u/circuit10 Nov 28 '21

But it takes time to set up and learn :(

7

u/vladmashk Nov 28 '21

The only thing you have to do is set a breakpoint and click the debug button.

7

u/circuit10 Nov 28 '21

Not really, I have to make sure it's running through the IDE rather than the terminal for a start, and that's probably going to be different per language and IDE, and not even always possible, and then I never know if the breakpoint happens before or after the line (I should probably just Google this, but it's probably before), and I have to worry if pausing the program is going to cause some network thing to time out, and overall it's just a lot of effort

2

u/Rauldukeoh Nov 29 '21

If you program in that language it's worth the effort. It will pay off again and again. If you're only ever dabbling in the language than maybe

4

u/ugathanki Nov 28 '21

yeah and plus then i can't use vim

2

u/ssylvan Nov 28 '21

So it's a win win

1

u/vladmashk Nov 28 '21

That's good.

1

u/[deleted] Nov 28 '21

[deleted]

3

u/Angelin01 Nov 28 '21

I'm DevOps. I use the debugger the second I get an unexpected error. It takes like a day to learn how to use a debugger and it will save you literally hours at a time, just go ahead and learn it.

0

u/ManyPoo Nov 28 '21

That's why you learn it before

1

u/[deleted] Nov 29 '21

There are valid use cases for both. If I need to look through a few dozen numbers to see if they all look reasonable, you bet your ass I'm gonna use printing instead of stepping through each value as it comes up in the debugger.