From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public X-Google-Thread: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,45b50f14dadfce5b X-Google-Attributes: gid1164f8,public From: ok@goanna.cs.rmit.edu.au (Richard A. O'Keefe) Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/07 Message-ID: <61c9kl$94l$1@goanna.cs.rmit.edu.au>#1/1 X-Deja-AN: 278972181 References: <612k6f$i79@news-rocq.inria.fr> <619nmn$4jv$1@goanna.cs.rmit.edu.au> <34392537.AA4A9F96@tonys.ecology.umn.edu> Organization: Comp Sci, RMIT University, Melbourne, Australia. NNTP-Posting-User: ok Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec boo writes: >Oh puh-leeze. >Who cares what it was designed for? C is far more powerful than >Fortran, especially for the kind of work that some of us >do in the real world. I strongly suspect that you don't know what modern Fortran is like. There is precisely *one* construction present in C which is not supported as well or better by Fortran, and that is pointer arithmetic. Modules? Fortran has them, C hasn't. Overloading? Fortran has it, C hasn't. Records? Fortran and C both have them. Pointers? Fortran and C both have them. Dynamic allocation? Fortran and C both have them. Recursive procedures? Fortran and C both have them. Nested procedures? Fortran has one level of nesting, C has none. Strings? Fortran has them, C hasn't. Character-oriented IO? Fortran and C both have it. Record-oriented IO? Fortran has it, C hasn't. User defined operators? Fortran has them, C hasn't. Free-format source form? Fortran and C both have it. Bitwise operations? Fortran and C both have them. Control over record layout? Neither language supports this. (Yes, I know about bitfields, and I also know how extremely weak are the guarantees you get about them.) >If Rob can show me how to do something >with a particular compiler that speeds up what I need done, >I am listening to him, not to you. Why shouldn't you listen to both of us? I am, after all, telling the truth, as you can easily verify for yourself. >Time to dismount that Ivory Tower of yours. I think perhaps it is time instead that _you_ took your blinkers off. Fortran is not my favourite language by a long way, but it has come a *long* way in the last 20 years, and is by most criteria a more 'modern' language than C. -- John �neas Byron O'Keefe; 1921/02/04-1997/09/27; TLG,TLTA,BBTNOTL. Richard A. O'Keefe; http://www.cs.rmit.edu.au/%7Eok; RMIT Comp.Sci.