Effectless but expensive. Or be careful with type hints in Python
softwarebits.substack.com
softwarebits.substack.com
Before the pitchforks come out, I love types and I love dynamic languages too.
But if I have to create a struct[struct[struct] for a type, and then import it with an obnoxious "if TYPE_CHECKING:" and then have to use an IDE that can do static analysis to even make sense of types, I might as well use a well-designed JVM language.
Type annotations are really valuable to ensure that your types are actually what you think they are. In the same spirit of using assertations for pre and post conditions.