OK, I must be loosing my Google-foo.
Someone at work noted during code review that one should always prefer
++variable as opposed to
variable++ in C++ (when semantically there's no distinction). But the person didn't know the reason when I asked "why". Surprisingly, my Googling so far didn't yield an answer either, nor does SO's "related question".
So, the question stands: why would
++variable be preferred as opposed to
variable++ in C++?