Hacker News new | ask | show | jobs
by mopierotti 1509 days ago
I'm not sure if you're talking about static typing in Go specifically, but imho static typing and generics make code easier to change.

I dread refactoring code that hasn't made extensive use of types, because it makes it harder to know if you've missed anything conceptually (typing reduces the potential behaviors of a piece of code) or literally (e.g. forgot to update a class).

1 comments

We’re replying to an article where the author also claimed that but then encountered a bug only in their generic version.