Re:Int a = 5; a = a++ + ++a; a =? (2011)
by marcosdumay on Thursday May 14, 2026 @07:16PM
(#48142490)
In Rust you hide all kinds of error prone iterations behind the "iterator" interface. Both the "for(int x=0;..." and the "while(list[i++])" are implemented at the standard library.
People tend to use FP abstractions for the "x[i++] = f(y[j++])" though, not iteration.
People tend to use FP abstractions for the "x[i++] = f(y[j++])" though, not iteration.