Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!rpi!uupsi!cmcl2!lanl!lambda!jlg From: jlg@lambda.UUCP (Jim Giles) Newsgroups: comp.lang.misc Subject: Re: Anyone want to design a language? Message-ID: <14244@lambda.UUCP> Date: 21 Feb 90 21:01:59 GMT References: <628@bbxsda.UUCP> Lines: 23 From article <628@bbxsda.UUCP>, by scott@bbxsda.UUCP (Scott Amspoker): > In article <14241@lambda.UUCP> jlg@lambda.UUCP (Jim Giles) writes: > [...] >>I'm sorry, but I can't find any good ideas in C. > > Well, here are a few ideas in C (although not unique to C): > [...] I'm sorry, I should have been more clear. I can't find any good ideas in C which aren't done as well or better (usually better) in many other languages. This includes languages which predate the invention of C. > [...] > arrays > [...] C doesn't _have_ arrays! It has a strange variant of pointers which can (on rare occasions) simulate arrays in a way that is almost as efficient and easy to read as arrays would have been. Usually, however, the simulated arrays are less efficient and cumbersome to use. J. Giles