Re:Haskell Beats C Using Generalized Stream Fusion [pdf]
by swift on Sunday April 07, 2013 @01:25PM
(#5507873)
I have to agree with the GP here. Haskell is actually an exceptionally simple, easy language to work with, once you get the basic concepts down. I have occasionally suffered some confusion in Haskell because of poorly documented third-party libraries, but the language itself is a joy.
[ Parent
| on HN ]
Re:Haskell Beats C Using Generalized Stream Fusion [pdf]
by viraptor on Sunday April 07, 2013 @01:51PM
(#5507970)
I'd add a qualifier that if you know what you're writing and you're writing from scratch, it's relatively easy. Modifying existing programs can present an interesting challenge.
For example once you have a working program and decide that actually some value could be read/written using a file instead of computed at runtime and the place you use it is 10 levels deep after calling a non-IO function, you've got two choices. Unsafe IO (then why not use it everywhere) or a minor program redesign. Haskell is the only language where I run into this kind of situation. (it's still quite simple despite this)
Re:Haskell Beats C Using Generalized Stream Fusion [pdf]
by mightybyte on Sunday April 07, 2013 @09:09PM
(#5509475)
I'd actually argue that modifying existing programs is where Haskell really shines. Strong static types and purity allow you to know a LOT more about arbitrary bits of code than any other language in mainstream use today.
Re:Haskell Beats C Using Generalized Stream Fusion [pdf]
by tome on Sunday April 07, 2013 @03:07PM
(#5508250)
If your program is well factored then it probably won't be hard to switch to IO ten levels deep. Bonus: Haskell makes refactoring easy!