DRY-ing Go/Golang’s error handling with underscores.
The Go Programming Language, also preferred by others as Golang, doesn’t include the concept of Exceptions and try-catch like Java. This is why many functions and libraries built around it are meant to be written like this: output, err := somelib.SomeCoolFunction() If you are writing…
Continue reading...