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: C vs. Fortran - Perl wins Date: 1997/10/14 Message-ID: <61v0lg$d6j$1@goanna.cs.rmit.edu.au>#1/1 X-Deja-AN: 280538785 References: <612k6f$i79@news-rocq.inria.fr> <61fran$184@hilbert.ncsc.org> <343C3737.5435@Japan.NCR.com> <61jc3i$h2q$1@sue.cc.uregina.ca> Organization: Comp Sci, RMIT University, Melbourne, Australia. NNTP-Posting-User: ok Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec bayko@pollux.cs.uregina.ca (John Bayko) writes: > Since then, momentum has kept C popular, while the concept of >objects was invented which solve the bug problems of C pointers, while >preserving (or even adding to) the direct ways of manipulating them >that C introduced. Anachronism alert: objects *preceded* C. Note the numbers in 'Simula 67'. There were elements of OOP in Algol 68: files in Algol 68 had procedure-valued slots so that an Algol 68 programmer could customise file behaviour in a per-object fashion. The ESPOL programming language (the systems implementation language on the B6700s) had a data structure called 'QUEUE's which were actually pretty much the same thing as classes; I think the ESPOL design was pretty much frozen before 1965. > One thing I think is ironic (kind of)... I've read of many >projects now being done in Java, where they're being completed in a >fraction of the time that they would have in C or C++. And the project >managers are amazed... yet they could have had exactly the same >productivity boost years ago if they'd switched to something like >Modula-3, which is basically Java with a different syntax. Heck, they could have had concurrency, objects, type safe separate compilation, and a bunch of other things if they had switched to Simula 67. (Has anyone got a DEC-10 Simula 67 manual they don't need any more? I'd enjoy the nostalgia.) > Just imagine the man-centuries of wasted effort... a tribute to >the lemmingness of mankind. The snag with Modula-3 and Simula 67 is that project managers don't go around saying "what's the best language for this? oh dear, the best language doesn't have the best tools, I'll pay some money to someone to upgrade the tools". The project managers that are tool- aware will cheerfully use an inferior language if there are good tools for it. The economics of developing good tools depend on both the *cost* of developing the tools (it would be far far easier to develop good tools for Simula 67 or Modula 3 than for C++) and on the *market volume* for such tools. The big thing behind Java is everybody's belief that one day the tools *will* be there. At the moment, if the experience of some of my students is any indicator, they aren't. I've had mature students nearly in tears because their straightfoward Java code *didn't* work the same in all the browsers (or even at all in some of them). (My current favourite was last night's demo, where all the labels in the dialogues came out in white letters on a white background; the student had not altered the default colours.) This *belief* that the tools will be there one day is creating a market which ensures that the tools *will* be there. The software industry is a perfect illustration of the fact that the free market is just like Darwinian evolution: it seeks out *local* optima not *global* optima; the invisible hand is blind. [One could paraphrase the well-known saying about democracy, and say that the free market is the worst of economic systems, except for all the others.] -- John �neas Byron O'Keefe; 1921/02/04-1997/09/27; TLG,TLTA,BBTNOTL. Richard A. O'Keefe; RMIT Comp.Sci; http://www.cs.rmit.edu.au/%7Eok