It use to be because ++var is technically faster to do. It resulted in a "increment and fetch" as appossed to a "fetch and add" which had to create a temp variable. I am pretty sure most compilers now do this optimization when they can though. In regards to ", arg" this style is more from Haskell (as far as I am aware) which I actually prefer since it makes editing in vim/emacs a breeze. Can't say much for the mixed styles though.Why ++var when there's no point to it, do a var++