by liampulles · 2y ago · 0 comments
The extremely straight control flow of Go makes it much easier to maintain in the long term IMO.
I've experienced the same thing in java, and similarly with testing different conditionals/exception cases in java
Usually most of the mock annoyingness I've personally dealt with is from repetitive, unrefactored test coverage
I've always wired my stuff manually in Go though, which is useful if I want to optionally load different subsystems because of some config, etc.