Settings

Theme

Common Interface Mistakes in Go

medium.com

3 points by zuzuleinen a year ago · 2 comments

Reader

ngocphuongnb a year ago

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."

  • zuzuleinenOP a year ago

    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...

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection