You run to your computer only to realize you just hallucinated some solution like chatgpt
writes ten lines of code.
has abug in line 255.
ah yes code very much
No no, 10 base 512 lines of code
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.
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
How are you sleeping after ten lines of co… oh it says coding
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…
If you know the line number, the bug is 99% solved
But some times function’s whole design is wrong
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.
As a programmer with ADHD… 100% yes.
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