Structural Pattern Matching in Python 3.10
https://benhoyt.com/writings/python-pattern-matching/
@lupyuen -- Why is this being done? It wasn't needed. One could use if-elsif-else structures or dictionaries. What language is Python being converted into?
Sorry, I'm venting here. 😞
@TikToc Python's Pattern Matching looks similar to Rust: https://doc.rust-lang.org/book/ch18-03-pattern-syntax.html
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.