• Lmaydev@programming.dev
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 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
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 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
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

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

        This got me fired from the daycare

    • lennivelkant@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      25 days 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?”