DEV Community

Discussion on: SOLID principles in the Go programming language

jonasbarka profile image
Jonas Barkå

"... Robert C. Martin and others redefined the Open/Closed Principle to the Polymorphic Open/Closed Principle. It uses interfaces instead of superclasses to allow different implementations which you can easily substitute without changing the code that uses them. The interfaces are closed for modifications, and you can provide new implementations to extend the functionality of your software."

Noone likes inheritance anymore :)

Thread Thread
jrwren profile image
Jay R. Wren Author

OK, and that is part of my point.