Hah, just this sort of confusion is part of the proposal to drop ++ and -- from Swift.<p>x++ returns x and then increments it, so yes the spec agrees with your intuition here.<p>Whereas ++x increments x and then returns the incremented x.<p>That subtle difference between x++ and ++x has been the debugging nightmare of many a C developer over the years. It&#x27;s also why there&#x27;s a fun irony in the C++ name and why people say the actual successor to C will be ++C.