3 ms·
> It also makes reading the code easier in terms of reasoning about it. For me that's huge. I work in a support role where I pretty much exclusively look afte
by SketchySeaBeast 6y ago
> It also makes reading the code easier in terms of reasoning about it.
For me that's huge. I work in a support role where I pretty much exclusively look after code other people have written. Without type hints when something blows up I need to follow the code all the way back to whenever the variables were initially substantiated so I can know what to expect and what I can do with it. If I have a type I know what I'm looking immediately and start building a model of things without back tracking.