• whaleross@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    8 months ago

    Some time ago I had a fever dream confusing reality thing and when I woke up I had reason with myself that “no, I can’t run a program in my brain”. I couldn’t decide if it was a disappointment or a relief.

  • caoimhinr@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 months ago

    Should’ve at least added some output to the loop, now the brain can just optimize and jump straight to the end.

    • _lilith@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      8 months ago

      The actual joke is that they were trying to play dumb/fun nerd computer games. The cool fish basically just told them to count to 1000 instead

      for that little bit of program there x is set to 1 and x++ is just another way to say “add one to this number”. The loop runs until x is 1000 thus all the x values when they are “running” the program manually