Re:Go Is a Well-Designed Language
by roncesvalles on Saturday February 01, 2025 @04:44AM
(#42897194)
I prefer the testing libraries that do monkey-patching and consider mock implementations of interfaces to be an antipattern in Go, especially if it's the only reason for putting an interface between the calling code and a type.
[ Parent
| on HN ]
There are no comments on this comment yet.