Re:Ask HN: How to become a better Python developer?
by timfi on Monday August 22, 2022 @05:09AM
(#32549081)
Not to nitpick, but do you mean the pattern matching statement when you are talking about "sum types"? Because as far as I'm aware Python doesn't have " proper" algebraic data types.
[ Parent
| on HN ]
Re:Ask HN: How to become a better Python developer?
by Jeff_Brown on Monday August 22, 2022 @08:43AM
(#32550524)
You're right, it doesn't, and they're still quite awwkward. And I'm not even talking about pattern matching; just the fact that you can finally define a class as `X = Y | Z`.