Linked by Amjith Ramanujam on Fri 19th Sep 2008 21:00 UTC, submitted by Ward D
Permalink for comment 331056
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.





Member since:
2006-03-20
It sucks because programming is 99% about "side effects" than mathematical formulas.
Please note the use of quotes for 'side effects'. They are called 'side effects', although they are the most interesting part of programming. It's the part that things happen inside a computer that change the world.
Haskell makes it really difficult to write useful code (where useful means 'with side effects').
They may show you how to create 'infinite' number sequences and process them.
Cool. Ask them to make a Model-View-Controller application in Haskell, where the model is a tree of nodes. Trivial in imperative languages, hard as hell in Haskell: you have to use the Zipper monad, mix the useful code with visitation to the tree code, because the only way to modify tree node links in Haskell is via local parameters...