Skip to content

blog/simple-switch-statement-for-python #10

@utterances-bot

Description

@utterances-bot

Match Case - A Simple Switch Statement for Python? | The When of Python Blog

At first glance, match case (Structural Pattern Matching) looks like a simple switch statement for Python. Unfortunately, match case is a mini-language that is unsafe to use apart from the very narrow cases where its benefits outweigh its costs / risks.

https://when-of-python.github.io/blog/simple-switch-statement-for-python.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions