nitter
Hadley Wickham
@hadleywickham
19 Nov 2012
for(1; 2; 3) 4 executes 1-2-4-3-2-4-3-2 - anyone know why the order is so counter-intuitive?
4
Dirk Eddelbuettel
@eddelbuettel
19 Nov 2012
Replying to
@hadleywickham
@hadleywickham
That is Init, test, body, incr, test, body, incr, test --- seems perfectly fine to me.
Nov 19, 2012 · 11:20 PM UTC
1
Hadley Wickham
@hadleywickham
19 Nov 2012
Replying to
@eddelbuettel
@eddelbuettel
yes, but you've been programming in C++ a long time...