• @Gumus
    link
    1110 months ago

    Switch-statement (called match) was added to Python 3.10 in late 2021. This is a reasonable, albeit older style of enumerated branching.

    • @[email protected]
      link
      fedilink
      510 months ago

      Switch statements and differently named but similarly purposed statements have been around since the 60s. Get outta here with this “switch is a newer style because python only just got them” nonsense.

      • @cucumber_sandwich
        link
        710 months ago

        Nobody is doubting that. The code in the meme is python…