• xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    11
    ·
    9 months ago

    Please switch over to something that actually has a condition that needs to logically be evaluated on each step and not as an end condition - yes this meme is technically correct for the case where they both start adjacent to the cliff and programmers should always consider (cliff) edge cases… but the visual strongly implies they’ve been running for a while.

    • KTVX94@lemmy.myserv.one
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      I mean yeah, it does have that problem, but even if it’s not entirely accurate it’s good enough to illustrate an otherwise abstract concept that’s not exactly easy to understand for someone who’s just getting started with programming and may not really be interested in it, rather looking to be an artist or game designer. Also humor really helps when it comes to learning. It does way more good than bad in my experience so far.