 Some languages, like Go do not support inheritance at all.The "open/closed principle" advocates that classes and functions "should be open for extension, but closed for modification".Delegation is another language feature that can be used as an alternative to inheritance.