Ankur Agarwal
1 min readApr 13, 2020

--

Abstraction is great, but also can be a nightmare when it comes to maintaining or extending the code. I think it’s worth mentioning the interface segregation principal and “accept interfaces, return structs” – https://medium.com/@cep21/what-accept-interfaces-return-structs-means-in-go-2fe879e25ee8

--

--