I would like to engage with someone(s) into discussing the design decision of GO not to produce Errors for when a user does some arithmetic that involve large numbers (which overflows their underlying type).
LINK TO PLAYGROUND
Even though adding two very very large int64 yields an overflow, GO still give back an int64 which is not the right intended- Correct result for such an operation?
How is the trust relationship between the CPU/ALU and the GO Compiler and who should take charge here?
For a second i thought about opening an issue but then I realised that maybe there is a good reason for the go team to leave it up to the user to know what they are doing!
Thanks in advance!