Quote:


It's been around in C for +30 years; apparently those guys were super lazy too.





All automation stems from laziness. Anyway, to add my two cents...If i remember my c++ correctly (which i might not) the ++ operator is unary. So if you wanted to increment a variable and then compare it to some value, you could do something like

if(++x == y) {...}

instead of

$x = $x+1
if $x = $y ... endif

Man, i really miss c++