News for hackers. Stuff that matters.
Re:Signs that you're a bad programmer by greyfade on Friday August 07, 2009 @01:44AM (#747087)
Why do you care what order your functions run in Haskell? Seems to me you want them to run as late as possible and no sooner.
Re:Signs that you're a bad programmer by loup-vaillant on Friday August 07, 2009 @04:19AM (#747265)
He doesn't. What he really cares about is memory consumption, especially stack consumption. Order of execution can influence that a lot: unevaluated chunks may hold quite a lot memory, and their evaluation in normal order may overflow the stack (in most implementations).

These problems are called "lazyness leaks". This is why he still cares about order of evaluation.