Re: Pointers to "why C behaves like that ?"

"Mark Alexander Wolton" <mwotton@cse.unsw.edu.au>
15 Nov 2002 00:37:55 -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)
Re: Pointers to "why C behaves like that ?" bobduff@shell01.TheWorld.com (Robert A Duff) (2002-11-17)
Re: Pointers to "why C behaves like that ?" jamesp_spam_me_not@silver-future.com (James Powell) (2002-11-17)
[64 later articles]
| List of all articles for this month |

From: "Mark Alexander Wolton" <mwotton@cse.unsw.edu.au>
Newsgroups: comp.compilers
Date: 15 Nov 2002 00:37:55 -0500
Organization: The University of New South Wales
References: 02-11-059 02-11-071
Keywords: C, design
Posted-Date: 15 Nov 2002 00:37:55 EST

>> 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.
>
> Most modern languages require variables (as well as other objects) to
> be declared before use. ...


Have you looked at modern functional languages like Ocaml and Haskell?
Almost all types are inferred rather than statically declared.


mrak


Post a followup to this message

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