818
Stare at it. (mander.xyz)
you are viewing a single comment's thread
view the rest of the comments
[-] Lmaydev@programming.dev 72 points 3 months ago

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.

[-] Dagwood222@lemm.ee 31 points 3 months ago

That works for pretty much anything.

Get up and do anything else for a while. School teaches us to sit at our desks and work on the problem. Stop acting like a sixth grader.

[-] brbposting@sh.itjust.works 11 points 3 months ago

That works for pretty much anything. Get up and do anything else for a while.

This got me fired from the daycare

[-] Dagwood222@lemm.ee 5 points 3 months ago

You were just staring at the kids. You were supposed to be changing diapers and feeding them. Insert obvious misunderstanding here.

[-] Deebster@programming.dev 4 points 3 months ago

One place I worked had a small park, so sometimes I'd go for a lap or two to think something through - the fresh air, mild exercise, change of scenery and lack of distractions wroked wonders.

[-] frauddogg@lemmygrad.ml 3 points 3 months ago

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!"

[-] lennivelkant@discuss.tchncs.de 2 points 2 months ago

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?"

[-] blaue_Fledermaus@mstdn.io 1 points 3 months ago

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.

this post was submitted on 04 Jun 2024
818 points (98.9% liked)

Science Memes

10340 readers
862 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.


Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS