• @Archr@lemmy.world
      link
      fedilink
      12 days 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.