[Haskell-cafe] Functional progr., images, laziness and all the rest

Piotr Kalinowski pitkali at gmail.com
Wed Jun 21 21:10:27 EDT 2006


On 22/06/06, Brian Hulley <brianh at metamilk.com> wrote:
> 1) Someone reading the code needs to do a lot of work to try to recover the
> original equation

That's what comments are for, I suppose.

> 2) Wouldn't an imperative loop, using the original equation directly, have
> made everything much simpler?
> 3) Therefore laziness has lead to obfuscated code.

In fact, according to your point 2, it is not the laziness that
brought us here, but being functional.

Just my 2 cents.

Regards,
Piotr Kalinowski

--
Intelligence is like a river: the deeper it is, the less noise it makes


More information about the Haskell-Cafe mailing list