Re: simple vs complex languages

zivca@netvision.net.il (Ziv Caspi)
29 May 2003 03:26:59 -0400

          From comp.compilers

Related articles
[24 earlier articles]
Re: simple vs complex languages jcrens@earthlink.net (Jack Crenshaw) (2003-05-24)
Re: simple vs complex languages jcrens@earthlink.net (Jack Crenshaw) (2003-05-24)
Re: simple vs complex languages jcrens@earthlink.net (Jack Crenshaw) (2003-05-24)
Re: simple vs complex languages nmm1@cus.cam.ac.uk (2003-05-29)
Re: simple vs complex languages nmm1@cus.cam.ac.uk (2003-05-29)
Re: simple vs complex languages hat@se-46.wpa.wtb.tue.nl (Albert Hofkamp) (2003-05-29)
Re: simple vs complex languages zivca@netvision.net.il (2003-05-29)
Re: simple vs complex languages vbdis@aol.com (2003-06-03)
Re: simple vs complex languages vbdis@aol.com (2003-06-03)
Re: simple vs complex languages bear@sonic.net (2003-06-03)
Re: simple vs complex languages lars@bearnip.com (2003-06-03)
Re: simple vs complex languages jvorbrueggen@mediasec.de (Jan C.=?iso-8859-1?Q?Vorbr=FCggen?=) (2003-06-05)
Re: simple vs complex languages nmm1@cus.cam.ac.uk (2003-06-05)
[8 later articles]
| List of all articles for this month |
From: zivca@netvision.net.il (Ziv Caspi)
Newsgroups: comp.compilers
Date: 29 May 2003 03:26:59 -0400
Organization: Compilers Central
References: 03-04-095 03-05-013 03-05-184
Keywords: C, design
Posted-Date: 29 May 2003 03:26:59 EDT

On 24 May 2003 20:07:47 -0400, Jack Crenshaw <jcrens@earthlink.net>
wrote:
[...]
>C used to allow functions to be declared later in the code than the
>calls to them. It doesn't, anymore. Today we use prototypes, which is
>a whole lot better deal. Pascal also allows prototypes -- otherwise
>one could never do forward references. So why is one language
>superior to the other in this respect? How is it that Pascal forces
>you to "write .. bottom-up," where C does not???
[...]
>[In the versions of Lisp that I know, a function doesn't have to be
>declared or defined until its called. That can make development a lot
>easier. -John]


It's interesting to note that the language C stole prototypes from
(C++) actually does not require prototypes (or any other kind of
forward declarations) when it comes to class members, probably because
class declarations cannot span compilation units.


Ziv.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.