News for hackers. Stuff that matters.
Re:The Ergonomics of Type Checking (2016) by emodendroket on Saturday October 28, 2017 @03:11PM (#15576334)
The biggest value of static types is when you go to edit some code written years and years ago and you can tell what the hell the intended usage was without digging through the method
Re:The Ergonomics of Type Checking (2016) by Guthur on Saturday October 28, 2017 @08:12PM (#15577363)
Not even remotely universally true. I've seen plenty of static code that is as obtuse as any dynamic code. Authorship holds far more sway than dynamic vs static.
Re:The Ergonomics of Type Checking (2016) by emodendroket on Saturday October 28, 2017 @09:28PM (#15577588)
It is 100% less likely that you'll run into out-of-date docs wrongly describing the types of the input arguments and return types. Of course the code might still be obtuse but the type declarations are a form of documentation that the compiler ensures is still up-to-date.