3 ms·
I feel like I should point out that we have no guarantee when and where an expression will be evaluated is also true in languages like C, to an extent. The com
by Symmetry 14y ago
I feel like I should point out that we have no guarantee when and where an expression will be evaluated is also true in languages like C, to an extent. The compiler is free to re-schedule operations that don't have a side effect, just as in Haskell - it's just that this happens less since so many actions could potentially have side effects in C.