520
you are viewing a single comment's thread
view the rest of the comments
[-] Archr@lemmy.world 1 points 1 day ago

This is very true. Match statements are much more powerful that switch statements in any other language.

For instance:

  • matching objects very specifically
  • if conditions within case statements
  • pulling variables from inside of the object directly.
this post was submitted on 08 Jun 2025
520 points (97.4% liked)

Programmer Humor

36413 readers
245 users here now

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

Rules:

founded 5 years ago
MODERATORS