Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
thwd
· 8y ago · 0 comments
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...
Comments
[–]
mikeash
8y ago
Pointer arithmetic can be perfectly safe. C doesn’t implement it safely but that doesn’t mean other languages couldn’t.
[–]
mixmastamyk
8y ago
Or perhaps safety
and
convenience.