Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!metro!research.canon.oz.au!andy From: andy@research.canon.oz.au (Andy Newman) Newsgroups: comp.lang.c Subject: Re: CDECL source code Message-ID: <1990Nov23.062051.280@research.canon.oz.au> Date: 23 Nov 90 06:20:51 GMT References: <5656@abaa.UUCP> <12671@ganymede.inmos.co.uk> Sender: andy@research.canon.oz.au (Andy Newman) Reply-To: andy@research.canon.oz.au (Andy Newman) Organization: Canon Information Systems Research Australia Lines: 23 In article <12671@ganymede.inmos.co.uk> conor@inmos.co.uk (Conor O'Neill) writes: > >Doesn't anybody else see the irony of needing a program to write >C declaration syntax? > >And some people teach this language to beginners.... > I agree that C isn't the language with which to teach programming but ... It was a fairly complex type (pointer to an array of 10 pointers to functions that return int) in a single declaration. Try the same thing in another language, looks just as bad (and just as confusing for the beginner). The thing is don't do so much in one declaration. Now if it were Occam there wouldn't be a problem...you can't do it at all ;-) -- Andrew Newman, Software Engineer. | Net: andy@research.canon.oz.au Canon Information Systems Research Australia | Phone: +1 61 2 805 2914 P.O. Box 313 North Ryde, NSW, Australia 2113 | Fax: +1 61 2 805 2929