3 ms·
> throw away type safety In theory yes, in practice if your Sort array function takes a list of interface{} instead of a well defined type is not going to caus
by 1_player 5y ago
> throw away type safety
In theory yes, in practice if your Sort array function takes a list of interface{} instead of a well defined type is not going to cause any type bugs. Might be slow, might be ugly, but lack of types on functional/generic stdlib functions doesn't make your code buggier if the original
implementation is sound.