Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site gumby.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!uwvax!gumby!g-frank From: g-frank@gumby.UUCP Newsgroups: net.lang.c Subject: Re: Language transitions Message-ID: <318@gumby.UUCP> Date: Wed, 27-Feb-85 09:10:34 EST Article-I.D.: gumby.318 Posted: Wed Feb 27 09:10:34 1985 Date-Received: Fri, 1-Mar-85 20:45:04 EST References: <4475@ucbvax.UUCP> <40100010@hpfcla.UUCP> Organization: U of Wisconsin CS Dept Lines: 30 > I program in both C and Modula-2. Which is better? Well, the combination > of strong typing and the ability to also breach the strong typing is > certainly nice in Modula-2. But I miss my favorite C expressions like: > > while ((c=getmeach())==' ') > I miss this too. On the other hand, what comes with letting a statement be an rvalue is that if (c = 10) printf ("You blew it!\n") ; compiles just fine, and is very hard to find. > and so on. But, I am very fond of MODULEs in Modula-2. And, oh yes, > I HATE (read, "H*A*T*E") typing my keywords in uppercase. Absolutely. The effect is to make all Modula-2 programs look like ransom notes. I wish some of the compiler vendors would supply a compile- time switch to let us type the keywords in whatever case we wanted. -- Dan Frank Q: What's the difference between an Apple MacIntosh and an Etch-A-Sketch? A: You don't have to shake the Mac to clear the screen.