[Haskell-beginners] an observation about Haskell vs. Python
dennis.raddle at gmail.com
Thu Sep 20 05:33:12 CEST 2012
Thanks. I'm okay with the status quo.. I just see it as a tradeoff. You are
giving up something to get something. In Python you give up any kind of
compile-time type checking, you give up the safety of immutable data, and
you get a whole lot of automatic type conversions and brief ways to express
certain algorithms. In Haskell you give up easy-to-comprehend error
messages and mutable data, and get back in reward a lot of reassurance that
your program does what you meant and expressivity. (I realize Haskell has
mutable data but it's not like Python's)
On Wed, Sep 19, 2012 at 7:43 PM, Ertugrul Söylemez <es at ertes.de> wrote:
> Notice: You probably forgot to apply `sin' to an argument.
> However, I think that no work is done on that, and there is another
> possible path: An average Haskell tutorial should always include a
> section on understanding error messages. In fact the latest issue of
> The Monad Reader  has an article on that by Jan Stolarek.
> : http://themonadreader.files.wordpress.com/2012/08/issue20.pdf
> Not to be or to be and (not to be or to be and (not to be or to be and
> (not to be or to be and ... that is the list monad.
> Beginners mailing list
> Beginners at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners