[OT] The Usual Arithmetic Confusions

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Mon Jan 31 16:05:23 UTC 2022


On Monday, 31 January 2022 at 10:23:59 UTC, Paulo Pinto wrote:
> One such language would be Go[0], it doesn't seem to impact 
> Docker, Kubernetes, gVisor, USB Armory, Android GPU debugger, 
> containerd, TinyGo, as some of the proper systems programming 
> where Go is used despite not being designed as such.

You can still remove it, you just need to assert the condition 
before you get any side-effects (I/O), but you can delay that 
test so it occurs outside the loop.

There is a difference between a language spec and consequences 
for what compilers can do.



More information about the Digitalmars-d mailing list