dxw00d:
You've been reading too many of PaulS's posts. Does the resulting code run any differently? If not, what does it matter?
Well, observing stylistic conventions in a language makes it easier for other people to read your code. Using x++ means there's also less typing, and less scope for sources of error in general.
The other thing is that you get more precision in terms of expression; you can choose to use either x++ or ++x an the increment operator, and the difference can often be exploited to write code that is concise, powerful, and even elegant.
C programming has its artistic element, after all.
In general, there are many ways to write code that will result in equivalent compiler output, but source code is not just for machines to read, it is (usually) also to be read by humans. If you think they are all equivalent, I invite you to look at some creative examples of deliberately obfuscated code. ![]()