The Fundamental Concept of Programming language X

Eric S. Raymond eric at snark.uu.net
Mon Jan 1 05:04:00 AEST 1990


In <1470 at mdbs.UUCP> Bill Smith wrote:
> Language	Fundamental Concept
> 
> Lisp		Lists + dynamic scope

Nah. Not all LISPs are dynamically scoped. One major dialect allows you to
choose dynamic or lexical scoping on a per-variable basis! Make that

Lisp		Lists as fundamental type + code as data + dynamic allocation

> Scheme		Closures + static scope

Vot's dis "static scope"? Make that "lexical scope".

> Fortran 	Arrays + fixed allocation
> C		pointers + dynamic allocation

Interesting claim, considering that malloc isn't part of C. Try

C		HLL as portable assembler, pointers as first-class citizens

> Ada		Generics (?)

Ada doesn't have a unifying concept. That's its fatal flaw.

> FORTH		Threaded code + postfix notation
> Cobol		Formatting of data
> BASIC		the statement as a unit of program
> SNOBOL		Strings

Make that "strings as only data type"...and add

APL		arrays as the only data type



More information about the Comp.lang.c mailing list