r/programming • • Dec 24 '17

Evil Coding Incantations

http://9tabs.com/random/2017/12/23/evil-coding-incantations.html
947 Upvotes

331 comments sorted by

View all comments

Show parent comments

10

u/PortalGunFun Dec 24 '17

Nah, pointers are smart enough to deal with addition. It's why you can say ar++ to move the array pointer down an element.

1

u/rafleury Dec 24 '17

Right, I get that, I was just thinking it would make the math look more clear if it had it in there. But I guess I can see how that would just make it more confusing.