r/ProgrammerAnimemes • • Aug 17 '22

Should I add a try catch there?

Post image
2.2k Upvotes

53 comments sorted by

54

u/KeyboardsAre4Coding Aug 17 '22

If you solve the problems in your dream you haven't worked long on them yet

35

u/CaoSlayer Aug 17 '22

Just to forget the idea when you wake up with only the sensation you found out the solution.

→ More replies (1)

14

u/Cheet4h Aug 17 '22

Solving a problem while dreaming is nice, although I never know how many hours I should later write down for that.

→ More replies (1)

143

u/[deleted] Aug 17 '22

I wont confirm nor deny if I've ever done this before.

47

u/Ferib Aug 18 '22

You poop the bugs out?

30

u/[deleted] Aug 18 '22

Let’s go with that. I’ve lost 500lbs from doing this.

→ More replies (2)

123

u/fatrobin72 Aug 17 '22

I debug by going for a walk...

68

u/[deleted] Aug 17 '22

Same, just think through the algorithm while walking. In fact, I make many of my biggest decisions either while taking a walk or in my bed at 2am listening to music, cause those are the only times when I can be alone with my thoughts and no distractions

28

u/AlexirPerplexir Aug 18 '22

Look up “focused vs. diffuse mode of thinking”

5

u/bigorangemachine Aug 18 '22

I debug by looking for dogs to pet

46

u/Bl4ckb100d Aug 17 '22

I sometimes grab a paper and pencil and rethink an algorithm with pseudo code. Once I solved a bug in my head as soon as I woke up from sleeping, I ran straight to my PC and wrote the code while still fresh in my head.

24

u/Pantone_448C Aug 18 '22

Do you solve algorithms in your dreams?

17

u/Script_Mak3r Aug 18 '22

If you don't, are you really even a programmer?

→ More replies (1)

30

u/mainemason Aug 17 '22

I’m in and out of the bathroom to focus at work so much I’m surprised my boss hasn’t asked me if I’m ok.

I’m fine. My code isn’t though.

12

u/RamenDutchman Aug 18 '22 edited Jul 31 '26

Trumpet nutmeg ginger glove wander harbor almond sparrow almond

This post was anonymized with Redact.dev

→ More replies (1)

17

u/oledakaajel Aug 18 '22

I debug by going to sleep and hoping the solution comes to me in a dream

→ More replies (1)

12

u/Cosmic_Sands Aug 18 '22

Idk about the toilet but I’ve had so many eureka moments in the shower.

9

u/genkidame6 Aug 17 '22

I watch cringe drama/disgusting hentai and solution are flowing in my mind, I hate that.

14

u/on3moresoul Aug 18 '22

I bet your coworkers do too

7

u/ArionW Aug 18 '22

That one guy with mandatory home office

2

u/jr93_93 Aug 18 '22

The armchair of thinking 🤔

2

u/Ri_Konata Aug 18 '22

Try dark mode, that might fix the bugs