r/programming • u/Sir_KnowItAll • Sep 27 '26
Don't couple your Go code to GitHub
https://iain.rocks/blog/dont-couple-your-go-code-to-github
491
Upvotes
r/programming • u/Sir_KnowItAll • Sep 27 '26
View all comments
Show parent comment
0
u/wnoise Sep 28 '26
The only thing you need for OOP is dynamic dispatch. But yes,
protectedonly makes sense in the context of implementation inheritance, which is almost always a bad idea.