3 ms·
Our project at work is using 3.4 and full of legacy code, and typical python code always has something astonishing. I always use type hints when I write new co
by hasenj 9y ago
Our project at work is using 3.4 and full of legacy code, and typical python code always has something astonishing.
I always use type hints when I write new code. Because 3.4 has no type hints for class member declarations I end up writing constructors that take parameters then assign them to self. This way PyCharm will properly detect the type of class members.