4 ms·
I can definitely imagine some places where this replaces type-checking, but it still seems like a bit of an unfortunate anti-pattern to me, since it's really a
by bouncing 7y ago
I can definitely imagine some places where this replaces type-checking, but it still seems like a bit of an unfortunate anti-pattern to me, since it's really a sort of C/C++ style function prototype match.
My immediate thought is that it's going to be hard for PyCharm to reliably point me to a function definition.
- heavenlyblue 7y ago>> My immediate thought is that it's going to be hard for PyCharm to reliably point me to a function definition. I am certain PyCharm is going to special-case these decorators in their next release.