Re:Data-oriented design or why you might shoot yourself in t...
by bccdee on Monday June 28, 2021 @12:56PM
(#27664349)
You're describing interface-based polymorphism, which is what go and rust use. In go, I can have a struct with methods that implements a particular interface by implementing all the methods described in that interface, but I can't inhereit from another struct. The person you're replying to called this out as a better system too.
[ Parent
| on HN ]
There are no comments on this comment yet.