@BoP And that's why code such as
(a+b)%d&&d++||c++
should fail any code review. And even if you know what it does
now, when you look at it again next year - or even next week - there's a good chance you
won't know. And pity the poor soul who has to maintain it five years from now. It's always fun after you look at code and think, "Who's the
idiot who wrote this?!?!", and
git blame
spits out you. —
Andrew Henle 2 mins ago