Re: F2003 standard: Can Class(*) be used in generic proogramming?





"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


.



Relevant Pages

  • Re: LSP and subtype
    ... What is the class of problems solvable using UML? ... the language of physics cannot describe. ... whatever paradigm equivalent to 2GL/3GL ... there is still a great need for reuse and generic programming. ...
    (comp.object)
  • Re: Whats the next paradigm shift?
    ... This isn't a paradigm shift in exactly the Kuhn meant, ... we cannot speak about it. ... There is no common language. ...
    (rec.org.mensa)
  • Re: Is a properly structured OO design more durable
    ... >>paradigm mismatch. ... What matters is the objective in language design. ... > partitioning with its focus on COMponents and pure abstract interfaces. ... (essentially embedded inheritance) ...
    (comp.object)
  • Re: Paradigms which way to go?
    ... Fabio Fracassi wrote: ... > On purpose, C++ is not strictly an OO Language, but a multi paradigm ... can either be a swiss army knife and serve several programming paradigms ...
    (comp.programming)
  • Re: Is OOP a paradigm or methodology?
    ... > Authors often refer to OOP as a programming language ... > provide OOP possibilities within their own paradigms (eg ... The American Heritage Dictionary provides three definitions of paradigm. ...
    (comp.object)