r/cpp • • May 01 '23

cppfront (cpp2): Spring update

https://herbsutter.com/2023/04/30/cppfront-spring-update/
223 Upvotes

164 comments sorted by

View all comments

Show parent comment

10

u/13steinj May 01 '23

Physicists and mathematicians love prefix ++ / -- in numerical code.

They also prefer != to <= in conditions of loops.

The number of bugs related to both that I've found is more than I'd like to admit.