That total immersion feeling when you’ve been 15h a day on these fucking bugs, the deadline is in 2 weeks, you still have 10 pages to finish after that. That’s truely the point where you keep seeing the code scroll in your head while you’re sleeping.
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
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.
Not a coder but I'm part of QA and write test cases. Can't count the number of times I suddenly remember I forgot to include a test case for an important feature on the shitter
Debugging is an anti skill: being good at it means you had a lot of practice with it, meaning that you are probably bat l bad at designing systems or are not following good practices
54
u/KeyboardsAre4Coding Aug 17 '22
If you solve the problems in your dream you haven't worked long on them yet
4
u/ankovians Aug 17 '22
sauce?
143
u/[deleted] Aug 17 '22
I wont confirm nor deny if I've ever done this before.
123
u/fatrobin72 Aug 17 '22
I debug by going for a walk...
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.
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.
17
u/oledakaajel Aug 18 '22
I debug by going to sleep and hoping the solution comes to me in a dream
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.
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
1
u/bsvercl Aug 18 '22
I am the machine
1
u/Serbay55 Aug 18 '22
u/HTTP_Response_404
1
u/EowynCarter Aug 18 '22
But why? Why? Why?
1
u/Mast3r_waf1z Aug 18 '22
I debug in my sleep
1
u/[deleted] Aug 18 '22
What’s that IDE called?
1
u/qK0FT3 Aug 18 '22
Dude how do people even think in toilet it is literaly done in atmost 5 minutes. up to 10 if you are sick
1
u/carpal_tunnel_69 Aug 18 '22
Not a coder but I'm part of QA and write test cases. Can't count the number of times I suddenly remember I forgot to include a test case for an important feature on the shitter
1
u/GnuhGnoud Aug 18 '22
Normal people code in dark mode. Light mode is for psychopaths
1
u/NotTooDistantFuture Aug 18 '22
The epiphany toilet
1
u/Major_Barnulf Aug 18 '22
Debugging is an anti skill: being good at it means you had a lot of practice with it, meaning that you are probably bat l bad at designing systems or are not following good practices
1
u/Zondor3000 Sep 12 '22
I debug in the shower, most of my greatest fixes have come to me in there
1
u/sugarsnuff Sep 16 '22
Just throw an error for every bad case. That’s good software practice
1
u/[deleted] Sep 28 '22
I somehow solved bugs while having breakfast
1
u/Delusional_Gamer Dec 23 '22
I first add print statements to print value and see if they're alright
If that doesn't help me, I move on to the second panel above
I haven't used the proper debug tools in years