Is Haskell a Keynesian language?

Here is another approach of questionable classification of languages. :-) A lazy functional program is demand driven, an imperative program is supply driven. That is, if I request some information by calling a function in GHCi or Hugs, the interpreter develops a plan a how to produce the information I need and then executes the necessary steps. In contrast to that, an imperative program executes what's next on the schedule, whether it is need or not. So is Haskell a Keynesian language and C++ a Say language?

This is certainly proof that you can abuse economics in any context!
;) Or perhaps that economics can be used to abuse anything...
- Johan Tibell
On 10/12/06, Henning Thielemann
Here is another approach of questionable classification of languages. :-)
A lazy functional program is demand driven, an imperative program is supply driven. That is, if I request some information by calling a function in GHCi or Hugs, the interpreter develops a plan a how to produce the information I need and then executes the necessary steps. In contrast to that, an imperative program executes what's next on the schedule, whether it is need or not. So is Haskell a Keynesian language and C++ a Say language? _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Henning Thielemann
Here is another approach of questionable classification of languages. :-)
A lazy functional program is demand driven, an imperative program is supply driven.
So is Haskell a Keynesian language and C++ a Say language?
Great, now we can talk about the Invisible Hand performing evaluations... Alice: "The Invisible Hand is holding up more memory than I thought. My program is using O(n) space just to compute length!" Bob: "You've violated Nash equilibrium!"

I prefer the terms "awesome" and "crappy", respectively, but sure, whatever works for you ;-) Mike Henning Thielemann wrote:
Here is another approach of questionable classification of languages. :-)
A lazy functional program is demand driven, an imperative program is supply driven. That is, if I request some information by calling a function in GHCi or Hugs, the interpreter develops a plan a how to produce the information I need and then executes the necessary steps. In contrast to that, an imperative program executes what's next on the schedule, whether it is need or not. So is Haskell a Keynesian language and C++ a Say language? _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

It often seems to me that the Wildeian dichotomy of "charming" vs. "tedious" applies especially well to programming languages. On Oct 12, 2006, at 5:02 PM, mvanier wrote:
I prefer the terms "awesome" and "crappy", respectively, but sure, whatever works for you ;-)
Mike
-------------------------------- David F. Place mailto:d@vidplace.com
participants (5)
-
Albert Lai
-
David F. Place
-
Henning Thielemann
-
Johan Tibell
-
mvanier