Y
Hacker News
new
|
ask
|
show
|
jobs
by
GordonS
2065 days ago
It's not the same as union types, but you can also often achieve polymorphic serialisation with any OO language, through the use of interfaces.