The power of single-method interfaces in Go

4 · Eli Bendersky · March 17, 2023, 1:32 p.m.
The other day I was pondering on the prevalence of single-method interfaces (SMI) in Go, and what makes them so effective and useful. SMIs have proven to be a very successful software modeling tool for Go programmers, and you find them all over Go code-bases. I tried to think about …...