My zombie brain is my pair programmer. This happens to me so frequently that it no longer surprises me and I now chill and let my sub conscious work it out.
This is why I leave a couple of hours break between coding and going to bed. If I don’t I may well sleep but my dreams are full of repeating code that I don’t wake up rested. Any “insights” from the dreams are usually wrong as well ☹️
And then you fix the bug, test and it and it still doesn’t work and it turns out you weren’t even calling the function in the first place. I’ve had that happen several times.
This happens so many times. I’m a pretty firm believer in walking away for 15 minutes is a crucial part of the debugging process. It’s just hard sometimes to know when to stop and stop trying shit for a bit.
Also rubber duck debugging, I’ll talk to my dog but fuck it works so many times. Shes helpful.
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml
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.
How are you sleeping after ten lines of co… oh it says coding
Remember to take care of yourself. Just because you have an idea doesn’t mean you have to test it right this second. You need breaks.
Yeah, write it down and continue sleeping.
You run to your computer only to realize you just hallucinated some solution like chatgpt
deleted by creator
Literally me 7 hours ago
deleted by creator
this has happened to me after I spent weeks trying to fix a small thing it made me scream
This is me almost every morning around 5am… 😭
writes ten lines of code.
has abug in line 255.
ah yes code very much
No no, 10 base 512 lines of code
As a programmer with ADHD… 100% yes.
My zombie brain is my pair programmer. This happens to me so frequently that it no longer surprises me and I now chill and let my sub conscious work it out.
Code a bit, think a lot, code some more, sleep on it, get a really good idea in the shower…
And when you’re wide awake you notice it was a dream, and there’s no “behave” statement in python.
You must tame the python instead
This is why I leave a couple of hours break between coding and going to bed. If I don’t I may well sleep but my dreams are full of repeating code that I don’t wake up rested. Any “insights” from the dreams are usually wrong as well ☹️
I fucked off work right hours ago and I know I’m gonna dream about bootloaders
And then you fix the bug, test and it and it still doesn’t work and it turns out you weren’t even calling the function in the first place. I’ve had that happen several times.
If you know the line number, the bug is 99% solved
But some times function’s whole design is wrong
This happens so many times. I’m a pretty firm believer in walking away for 15 minutes is a crucial part of the debugging process. It’s just hard sometimes to know when to stop and stop trying shit for a bit.
Also rubber duck debugging, I’ll talk to my dog but fuck it works so many times. Shes helpful.
I used to talk to the graphic designer next to me. I work from home now, so my wife gets to play the role 24/7.