Re: F2003 standard: Can Class(*) be used in generic proogramming?
- From: "Gerry Ford" <gerry@xxxxxxxxxxxx>
- Date: Sun, 30 Mar 2008 22:49:12 -0700
"Charles Coldwell" <coldwell@xxxxxxxxx> wrote in message
news:rzpsky8z66x.fsf@xxxxxxxxxxxx
Bil Kleb <Bil.Kleb@xxxxxxxx> writes:
Charles Coldwell wrote:
That sounds a lot like Lisp macros ("Lisp is a programmable programming
language" -- John Foderaro, CACM, September 1991).
Precisely.
From Graham's Revenge of the Nerds[1],
How does a more powerful language enable you to write shorter programs?
One technique you can use, if the language will let you, is something
called bottom-up programming. Instead of simply writing your application
in the base language, you build on top of the base language a language
for writing programs like yours, then write your program in it.
[..] Greenspun's Tenth Rule:
Any sufficiently complicated C or Fortran program contains
an ad hoc informally-specified bug-ridden slow implementation
of half of Common Lisp.
Robert Morris' corollary: "Including Common Lisp."[2]
The idea is that you design an application-specific language using Lisp
macros, and then run that. It's not a new idea.
Did anyone say it was a new idea? Is it bad if it is not new?
Yes and no. There is an implication that one has done something new when
speaking of a "paradigm shift":
DSLs Lead Development Paradigm Shift
eWeek (03/26/08) Taft, Darryl K.
But I would bet there's nothing in "domain specific languages" that
isn't already in PG's book[3]. That doesn't make it a bad programming
paradigm, just not a new one.
In every nerd story, the senior (usually about 23 yrs of age) walks in.
Avoiding bad logic is the name of the game after Johnny von Neuman. The
appeal to "logical languages" vis a vis Fortran is something that George
Bush would take on faith. He might be right, or wrong.
--
"I am waiting for them to prove that God is really American."
~~ Lawrence Ferlinghetti
.
- References:
- F2003 standard: Can Class(*) be used in generic proogramming?
- From: Simulate
- Re: F2003 standard: Can Class(*) be used in generic proogramming?
- From: Arjen Markus
- Re: F2003 standard: Can Class(*) be used in generic proogramming?
- From: Simulate
- Re: F2003 standard: Can Class(*) be used in generic proogramming?
- From: Gary Scott
- Re: F2003 standard: Can Class(*) be used in generic proogramming?
- From: Charles Coldwell
- Re: F2003 standard: Can Class(*) be used in generic proogramming?
- From: Bil Kleb
- Re: F2003 standard: Can Class(*) be used in generic proogramming?
- From: Charles Coldwell
- F2003 standard: Can Class(*) be used in generic proogramming?
- Prev by Date: Re: data with metadata
- Next by Date: Re: Rounding off double precision
- Previous by thread: Re: F2003 standard: Can Class(*) be used in generic proogramming?
- Next by thread: Re: F2003 standard: Can Class(*) be used in generic proogramming?
- Index(es):
Relevant Pages
|
|