[Haskell-cafe] I read somewhere that for 90% of a wide class
of computing problems, you only need 10% of the source code in
Haskell, that you would in an imperative language.
John Dorsey
haskell at colquitt.org
Wed Sep 30 23:10:19 EDT 2009
> Well, try this: Go ask a random person how you add up a list of numbers.
> Most of them will say something about adding the first two together,
> adding the third to that total, and so forth. In other words, the step
> by step instructions.
You word the (hypothetical) question with a bias toward imperative
thinking. You're asking "How do you do this action?"
Why isn't the question "What is the sum of a list of numbers?", which is
biased toward the declarative?
John
(who's glad he's not a social scientist)
More information about the Haskell-Cafe
mailing list