News for hackers. Stuff that matters.
Re:Signs that you're a bad programmer by fhars on Friday August 07, 2009 @12:48AM (#747026)
The inability to determine the order of program execution is what made me give up haskell for ocaml and scala. Does that make me a bad programmer?
Re:Signs that you're a bad programmer by blasdel on Friday August 07, 2009 @02:15AM (#747132)
Don't worry, you're in good company, for example: http://janestreet.com/

I (a Haskeller) interviewed there, and ended up in an long debate with their CTO Yaron Minsky poking at warts in each other's pet languages and patterns of thought -- in retrospect we were trolling each other pretty hard just as a natural reflex.

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.