4 ms·
I don't think a lot of it exists yet, to be honest. Python 3.10's been a game changer when it comes to new patterns and idioms, and I don't think the dust has s
by heavyset_go 5y ago
I don't think a lot of it exists yet, to be honest. Python 3.10's been a game changer when it comes to new patterns and idioms, and I don't think the dust has settled yet.
- HerrMonnezza 5y agoWhy is Python 3.10 a game changer? (Honest question)
- addcninblue 5y agoI think OP is referring to new features like pattern matching [1] that's been sorely missed in python for a while. [1]: https://www.python.org/dev/peps/pep-0634/ https://www.python.org/dev/peps/pep-0634/
- heavyset_go 5y agoStructural pattern matching is a big one. Similar to how type hinting gave us new patterns and libraries like Pydantic, FastAPI, etc, I suspect there will be new libraries and patterns that lean on structural typing heavily. 3.10 is also a culmination of additional features from 3.8 and 3.9 that were pretty lackluster on their own, but in combination with features from other point versions, you can do some cool things that you couldn't do as elegantly before.