9 ms·
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
by mopierotti 4y 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).
- CraigJPerry 4y agoWe’re replying to an article where the author also claimed that but then encountered a bug only in their generic version.