There is nothing ... I don’t know, using the empty interface, I think. Similarly, an interface point is to define a common set of functions that may differ in how it is implemented.
This will not make coding simpler, since you are effectively working with a black box ( objectas some may call it).
Honestly, if I implemented such an open-end architecture, I would just go with the usual old one object.
source
share