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:15

Why would you ever make a non-parametric function modify some kind of counter variable?

Stop trying to market Haskell with your synthetic ``human errors'' that never actually happen to anyone with a brain. Haskell can't magically fix stupid and all your scenarios have been a severe case of stupid. This is ``put braces around one-liner ifs'' all over again.

Name: Anonymous 2014-07-14 1:22

I have C's order of operations tattooed on my right arm.

Problem solved.

Name: Anonymous 2014-07-14 1:26

Don't use global variables, Ahmed

Name: Anonymous 2014-07-14 1:35

>>4

This is C. No rules. You can use everything, including goto.

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