Tag Archives: inheritance

Subclassing vs Embedding in GoLang

This is a topic that I’ve seen pop up in discussions and articles about Go. The Go programming language does not support inheritance, but instead it supports composition via “embedding.” It can be a little hard to grasp the difference. … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment