2 ms·
Sure, here is an example: https://go.dev/play/p/_EJ4EvYntr2 https://go.dev/play/p/_EJ4EvYntr2 When you run this you will see that occasionally it prints somet
by tsimionescu 2y ago
Sure, here is an example:
https://go.dev/play/p/_EJ4EvYntr2 https://go.dev/play/p/_EJ4EvYntr2
When you run this you will see that occasionally it prints something other than 11 or 100. If it doesn't happen in one run, run it again a few times.
An equivalent Java program will never print anything else.
- tucnak 2y agoThank you, that's really illuminating.