Skip to content

Common Interface Mistakes in Go

medium.com
3 pointszuzuleinen2 comments
On HN

Comments

Great article. Although the interface is really useful, taking advantage of it too much is not the right thing to do. "I still see people creating interfaces in advance because they think they might need more than one implementation in the future."

Thanks for your comment! On the golang sub-reddit[1] was not that well received. I knew it will lead to that because some things are controversial and also on my part I should have probably explained more so I tried to do that in the comments there. It's hard to condense lots of info in one post, but I just wanted to write about these things cause I see them so often

[1] https://www.reddit.com/r/golang/comments/1dnk96p/7_common_in...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.