News for hackers. Stuff that matters.
Re:Throw away code by SketchySeaBeast on Friday September 25, 2020 @04:54PM (#24593991)
> 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.

There are no comments on this comment yet.