• lime!@feddit.nu
    link
    fedilink
    English
    arrow-up
    40
    arrow-down
    1
    ·
    8 hours ago

    pass and continue are absolutely not equal (pass is a noop, and python has a continue keyword that does what you think), and switch is called match like in many other languages. except is weird though.

    • Phen@lemmy.eco.br
      link
      fedilink
      arrow-up
      3
      ·
      5 hours ago

      “except” is also used in Pascal (or at least the main derivatives of it), but not sure if that’s older than its use in Python or not.