521
you are viewing a single comment's thread
view the rest of the comments
[-] lime@feddit.nu 62 points 2 days 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 11 points 2 days 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
521 points (97.6% liked)

Programmer Humor

36340 readers
462 users here now

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

Rules:

founded 5 years ago
MODERATORS