4 ms·
> Those operators aren't for pointer arithmetic… That's the point of my suggestion! One looking at them will think they are pointer arithmetic, which is not pr
by knocte 12y ago
> Those operators aren't for pointer arithmetic…
That's the point of my suggestion! One looking at them will think they are pointer arithmetic, which is not pretty for newcomers.
- pcwalton 12y agoThose operators aren't for pointer arithmetic in any language I know of, including Rust, C, C++, or Go. The operators for pointer arithmetic are plus and minus (technically square brackets too in C)--that's why it's called pointer arithmetic.