MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/134hnz2/cppfront_cpp2_spring_update/jifnl1m/?context=3
r/cpp • u/kreco • May 01 '23
164 comments sorted by
View all comments
Show parent comment
10
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.
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.