529
you are viewing a single comment's thread
view the rest of the comments
[-] lime@feddit.nu 66 points 1 month 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 12 points 1 month 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.

this post was submitted on 08 Jun 2025
529 points (97.5% liked)

Programmer Humor

37347 readers
64 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS