Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Evaluation Order Sucks

Name: Anonymous 2014-07-14 0:56

Just fixed an error with
array[count++]= foo();
where foo() modified count, in effect writing stuff into the incorrect location.

Haskell's lazy evaluation would have prevented that.

Name: Anonymous 2014-07-14 1:40

>>1
That's UB -- as is m[c++] = c++.
>>2
Why would you ever make a non-parametric function modify some kind of counter variable?
clearerr();
This is ``put braces around one-liner ifs'' all over again.
I don't do that.
>>3
What about your left arm?
>>4
shut the fuck up, John.
>>5
Read C11 (yes, da standard).

Lastly, fuck off with your shit >>6. Everything has been answered in >>1-5

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List