(no title)
M0r13n
|
6 months ago
Personally, I have never liked the PEP 634 pattern matching. I write a lot of code in Python. 99% of the time when I could use pattern matching, I am going to use simple if statements or dictionaries. Most of the time, they are more straightforward and easier to read, especially for developers who are more familiar with traditional control flow.
Balinares|6 months ago
I'll argue that code is in fact not easy to read if reading it doesn't tell you what type an item is and what a given line of code using it even does at runtime.
NeutralForest|6 months ago
Q6T46nT668w6i3m|6 months ago
odyssey7|6 months ago