in reply to Increment by 2 and by 1 in same loop.

while( something ) { $anything++; $you += 2; $want += 11teen; }

Replies are listed 'Best First'.
Re^2: Increment by 2 and by 1 in same loop.
by locked_user sundialsvc4 (Abbot) on Apr 16, 2013 at 11:17 UTC

    Definitely.

    Don’t make it clever .. always make it clear.   The odds are always good that someone (else) will come behind you and have to modify that piece of code.   Make it obvious what the code does, and easy to change it.