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

>>43
Linux /dev/random also works this way. Entropy is obtained from many sources, including user input if it is available (it isn't always). My point was that once you go down that path you must deal with synchronizing access to the entropy pool (for both readers and writers).

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