2 ms·
Duck typing is not the solution to every problem. Pylint has nothing to do with catching type errors. It catches problems with code style. I don't find the co
by rspeer 10y ago
Duck typing is not the solution to every problem.
Pylint has nothing to do with catching type errors. It catches problems with code style.
I don't find the code in this blog post convincing, but there are reasons to write type-safe code.
- raverbashing 10y ago> Pylint has nothing to do with catching type errors. No, it does catch type errors, for example accessing methods that are not present in the object > but there are reasons to write type-safe code. Yes, and there are lots of languages that allow you that