[Haskell-cafe] Re: How does one get off haskell?
daniel.is.fischer at web.de
Fri Jun 18 08:37:26 EDT 2010
On Friday 18 June 2010 12:31:26, Ivan Lazar Miljenovic wrote:
> Pete Chown <1 at 234.cx> writes:
> > One thing I'm curious about is Haskell versus Python or Ruby. Code in
> > those languages is, IMO, prone to type related bugs because there is
> > no compile-time checking. On the other hand, I would expect the
> > density' of the code to be similar to Haskell. You can do a lot of
> > the same things, although they support an OO programming style too.
> Haven't you heard? Enough unit tests give you almost the same security
> as a good static type system at the expense of more code!
> Uh, wait, why is that an advantage again? :p
Duh, because it's much faster to develop in a dynamically typed language.
Writing out all those type signatures costs time. Much more time than
writing a few dozen unit tests per function, right?
More information about the Haskell-Cafe