• Archr@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 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.