Pointers to "why C behaves like that ?"

"WONG SAI-KEE" <skwong@sun80.acae.cuhk.edu.hk>
12 Nov 2002 14:12:20 -0500

          From comp.compilers

Related articles
Pointers to "why C behaves like that ?" skwong@sun80.acae.cuhk.edu.hk (WONG SAI-KEE) (2002-11-12)
Re: Pointers to "why C behaves like that ?" Gayev.D.G.=?koi8-r?Q?=3Cdg=C1ev=40mail=2Eru=3E?=@m (2002-11-13)
Re: Pointers to "why C behaves like that ?" mwotton@cse.unsw.edu.au (Mark Alexander Wolton) (2002-11-15)
Re: Pointers to "why C behaves like that ?" skwong@sun80.acae.cuhk.edu.hk (WONG SAI-KEE) (2002-11-15)
Re: Pointers to "why C behaves like that ?" jacob@jacob.remcomp.fr (jacob navia) (2002-11-15)
Re: Pointers to "why C behaves like that ?" christian.bau@freeserve.co.uk (Christian Bau) (2002-11-17)
Re: Pointers to "why C behaves like that ?" Gayev.D.G.=?iso-8859-1?Q?=3Cdg=E0ev=40mail=2Eru=3E (2002-11-17)
[66 later articles]
| List of all articles for this month |
From: "WONG SAI-KEE" <skwong@sun80.acae.cuhk.edu.hk>
Newsgroups: comp.compilers
Date: 12 Nov 2002 14:12:20 -0500
Organization: The Chinese University of Hong Kong
Keywords: C, design, comment
Posted-Date: 12 Nov 2002 14:12:20 EST

I'm preparation a freeware books for learning Cocoa programming,
and want to answer some FAQ for a outsider. The following question
was asked frequently (even by myself).


Why the C lang behaves like that:
We need to delare variable in advance, in contrast to other
lang, the program simply use without declaring it.


Of course, there are explanation in a typical programming book for
such issue, but most user were not convinced.


I think this behaviour is related to the compiler construction
and history reason rather than actual need.


Is there any sites in the internet which describes why the C lang
(or Pascal) has such such syntax ?


Thanks in advance.


SK
[The papers from the SIGPLAN HOPL (History Of Programming Languages)
conferences would be a good place to start. -John]


Post a followup to this message

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