How Python Makes Working With Data More Difficult in the Long Run
Jeff Knupp
456

With the go version you know nothing about it either. For example all those fields can be set to the default value, so if dir is false is it because it wasn't in the response or because it is actually false? Theres no way to know.

Go forces you to be more verbose, but it doesn't give many guarantees of anything, and specially without templates/meta programming you will end up passing your structure through a interface{} pointer somewhere (the json module for example) and loose all that structure information.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.