News for hackers. Stuff that matters.
Re:Interview with Go’s Russ Cox and Sameer Ajmani by lumpypua on Thursday March 26, 2015 @04:46AM (#9268410)
> "I got a string but expected an int"

It's not initially that it's an issue. Refactoring is where static typing shines.

When you change an anonymous (or otherwise ungreppable) function that's passed around all over from taking a string to an int, it's great to have the compiler tell you that you really did find and fix all calls to the function.

There are no comments on this comment yet.