fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 26 days agoStare at it.mander.xyzimagemessage-square77fedilinkarrow-up1784arrow-down19
arrow-up1775arrow-down1imageStare at it.mander.xyzfossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 26 days agomessage-square77fedilink
minus-squareLmaydev@programming.devlinkfedilinkEnglisharrow-up65·26 days agoI find for coding problems it’s actually better to walk away and let it tick over in your mind. You’ll often get a shower thought type moment.
minus-squarelennivelkant@discuss.tchncs.delinkfedilinkEnglisharrow-up2·6 days agoMe, staring at my code, fiddling around, retrying it over and over: “WHY WON’T YOU WORK, DAMMIT?” Me, late at night, trying to sleep, suddenly wide awake: “Oh that’s why!” Me, the next morning, staring at my code: “…what was it again?”
minus-squareSUPAVILLAINlinkfedilinkEnglisharrow-up3·26 days agoNothing more enchanting than when the answer to your coding problem literally comes to you in a dream. Had an array issue in C++ where I literally woke up saying "I don’t need a ghost array to search after all is said and done, it’s already sorted!"
minus-squareblaue_Fledermaus@mstdn.iolinkfedilinkarrow-up1·26 days agoOnce, the answer to a problem that was stumping me came while driving in the middle of nowhere at 01:00am back from a weekend trip.
I find for coding problems it’s actually better to walk away and let it tick over in your mind.
You’ll often get a shower thought type moment.
Me, staring at my code, fiddling around, retrying it over and over: “WHY WON’T YOU WORK, DAMMIT?”
Me, late at night, trying to sleep, suddenly wide awake: “Oh that’s why!”
Me, the next morning, staring at my code: “…what was it again?”
Nothing more enchanting than when the answer to your coding problem literally comes to you in a dream. Had an array issue in C++ where I literally woke up saying "I don’t need a ghost array to search after all is said and done, it’s already sorted!"
Once, the answer to a problem that was stumping me came while driving in the middle of nowhere at 01:00am back from a weekend trip.