4 ms·
I'm certainly glad they are there. It's a better language with them. My point is, they are really just syntactic sugar. Leaving mypy aside, attrs works perfect
by rich_sasha 6y ago
I'm certainly glad they are there. It's a better language with them. My point is, they are really just syntactic sugar.
Leaving mypy aside, attrs works perfectly well without annotations, and frankly I find it more powerful than dataclasses anyway.
As I said before, maybe it is just that my use-cases are so different to others' (data science vs. web etc.). But Python is screaming for proper multicore support, better static safety, and presumably other things too. Instead we get niceties.
And yes, of course, it's free, and it's great, and I'm not a contributor (not really in a position to contribute). So I'm not complaining. But also I gained next to nothing from upgrading from 2.7 to 3, and would gain nothing from going up the 3.x ladder. So it's hard for me to whip up enthusiasm about another version of type annotation goodness.