by rtpg · 9y ago · 0 comments
You could have, through some convention, the inheritance tree encoded into structs, but that's true of every language feature really. At no point do mots language feature stop being "structs + functions", because that encodes data + code.
Structs and OO by contrast could be considered as premature composition. ;-)