4 ms·
> When designing Go, we decided to avoid this minefield by mandating that there is no mixing of numeric types Except when these values are constant, in which c
by zak_mc_kracken 12y ago
> When designing Go, we decided to avoid this minefield by mandating that there is no mixing of numeric types
Except when these values are constant, in which case you can mix at will.
Quite a weird design decision.