Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpda!hpcuhb!hpindda!hardin From: hardin@hpindda.HP.COM (John Hardin) Newsgroups: comp.lang.c++ Subject: Re: Should C++ follow C's footsteps? Message-ID: <6170006@hpindda.HP.COM> Date: 24 Feb 89 18:34:20 GMT References: <4800051@m.cs.uiuc.edu> Organization: HP Information Networks, Cupertino, CA Lines: 22 >If C++ is already somewhat incompatible, would it not be wise to leave C >syntax behind entirely? Two reasons why, > >1) I think most people would agree that a great deal of it is pretty >crummy (do I presume to much? does anyone actually like the "for" loop >syntax?) > >==Fraser Orr ( Dept C.S., Univ. Glasgow, Glasgow, G12 8QQ, UK) ---------- I'm surprised to find that anyone does NOT like the C "for" loop syntax! Keeping the loop initialization, step, and termination test in one place seems like a nice feature. The main target for change in C, IMHO, is the variable declaration syntax. Luckily I have a utility that will take English-like explanations of what I want (e.g., pointer to an array of 5 pointers to functions returning doubles) and output the C syntax. It shouldn't be too difficult to include in C the ability to read this pseudo- English directly (as an option, of course). John Hardin, hardin%hpindda@hplabs.hp.com