• NegativeInf@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          8 months ago

          Based on syntax, use of indents for code blocking, and the comment hash, I’d say it’s meant to be python but has a bug. But it could always just be pseudo code with a mistake. But it doesn’t look like any single = conditional language I know.

          • Victor@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            8 months ago

            It looks like pseudo code to me. But pseudo code doesn’t really have a standard, does it? So their personal flavor is perfectly acceptable and correct (single equals acting as comparison). We know what they mean, what they’re trying to convey – we get the joke. No need to pick it apart. 👍