Glossary: Software Design Patterns in Go
Premature abstraction
Adding an interface or factory before you have two or three real cases. It guesses what will vary, and a wrong guess is harder to undo than plain code.
Glossary: Software Design Patterns in Go
Adding an interface or factory before you have two or three real cases. It guesses what will vary, and a wrong guess is harder to undo than plain code.