4 ms·
> What safety does Go's version buy you? A statically typed version guarantees you haven't made some fundamental mistakes and enables automatic refactoring. S
by seanwilson 9y ago
> What safety does Go's version buy you?
A statically typed version guarantees you haven't made some fundamental mistakes and enables automatic refactoring.
Say we wanted to change an ID field from being a string to an int later in development for example. You've now got to hunt around all your files making sure the right type is being used. It feels incredibly primitive when you need to do this manually or have to rely on an exhaustive and annoying to maintain test suite for this.