So it's just one big awesome play through!
Followed by what? Don't tell me they stopped catering to their core fanbase of obsessive build optimizers?
Does she also recommend using x = x + 1; instead of x++;?
Also known as the Apple way. As they removed the
--shorthands from Swift. And least
+=and similar are still in the language...
Python removes those too.
Honestly, ++ and -- have no real benefit over += and -= except in:
-- for (int i = 0; i < n; i++)-style loops, which should not be used in modern languages anyway.
-- wonderful statements like "x = y++ + z-- == ++w / --v"
In modern languages, you'd only ever want to use ++ and -- in order to increment/decrement a variable for its own sake (as opposed to in order to iterate over a collection or do pointer gymnastics) - in which case += 1 and -= 1 are far clearer in intent.
Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.