3 ms·
A nightmare, and tests don't do as much as old boomer TDD people say they do. IDEs can still do things with dynamically typed languages, but if you have an obje
by henning 4y ago
A nightmare, and tests don't do as much as old boomer TDD people say they do. IDEs can still do things with dynamically typed languages, but if you have an object that calls some very generic method name like `get()`, there are probably many classes with that method. The IDE can try to guess the one but it's a lot of visual noise and less precise than just being able to infer it accurately.
Languages that support type annotations (Python 3) help and AFAIK most good Python teams working on relatively recent code bases use them.
- ddoolin 4y agoAlso, even if your IDE can pick up on function usages elsewhere, if they are invoked or referenced in a non-standard way, they will probably be missed (such as Function.apply, as arguments, etc.)