3 ms·
Golang could do this by implementing unions on interfaces.
by baby 7y ago
Golang could do this by implementing unions on interfaces.
- convolvatron 7y agoI certainly agree with your later example (cars+planes)...but how do union types help with subtyping?
- baby 7y agohow do generics help with subtyping?