Y
Hacker News
new
|
ask
|
show
|
jobs
by
thwd
2792 days 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-arithme...
2 comments
mikeash
2792 days ago
Pointer arithmetic can be perfectly safe. C doesn’t implement it safely but that doesn’t mean other languages couldn’t.
link
mixmastamyk
2792 days ago
Or perhaps safety
and
convenience.
link