3 ms·
Go doesn't have parametric polymorphism. So yeah, there is something stopping you.
by papsosouid 13y ago
Go doesn't have parametric polymorphism. So yeah, there is something stopping you.
- voidlogic 13y agoNope, not stopping you: http://blog.burntsushi.net/type-parametric-functions-golang http://blog.burntsushi.net/type-parametric-functions-golang
- papsosouid 13y agoYes, stopping me. "You can resort to a horrible ugly cludge and lose type safety for your efforts" is not having parametric polymorphism.