3 ms·
Pointer arithmetic is abstracted away for _safety_, not convenience. You can read about in e.g. Go's FAQ. https://stackoverflow.com/questions/32700999/pointer-
by thwd 8y ago
Pointer arithmetic is abstracted away for _safety_, not convenience. You can read about in e.g. Go's FAQ.
https://stackoverflow.com/questions/32700999/pointer-arithmetic-in-go https://stackoverflow.com/questions/32700999/pointer-arithme...
- mixmastamyk 8y agoOr perhaps safety and convenience.
- mikeash 8y agoPointer arithmetic can be perfectly safe. C doesn’t implement it safely but that doesn’t mean other languages couldn’t.