From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4b06f8f15f01a568 X-Google-Attributes: gid103376,public X-Google-Thread: fac41,9a0ff0bffdf63657 X-Google-Attributes: gidfac41,public X-Google-Thread: f43e6,9a0ff0bffdf63657 X-Google-Attributes: gidf43e6,public X-Google-Thread: 1108a1,9a0ff0bffdf63657 X-Google-Attributes: gid1108a1,public From: Gautier.DeMontmollin@maths.unine.ch Subject: Re: Is there a language that Dijkstra liked? (was: Re: Software landmines (loops)) Date: 1998/10/23 Message-ID: <19qdTRxg5C3+@nedcu4>#1/1 X-Deja-AN: 404407812 References: <6skfs7$2s6$1@hirame.wwa.com> <35F252DD.5187538@earthlink.net> <6t4dge$t8u$1@nnrp1.dejanews.com> <6t5mtp$4ho$1@news.indigo.ie> <35FFE58C.5727@ibm.net> <3600E72E.24C93C94@cl.cam.ac.uk> <6ts1q0$vo2$1@nnrp1.dejanews.com> <361DBC60.C153BBAD@earthlink.net> <36228EC3.4F7381FD@domain.nul> <3630b064.23189339@news.superOrganization: University of Neuchatel, Switzerland Newsgroups: comp.lang.eiffel,comp.object,comp.software-eng,comp.lang.ada Date: 1998-10-23T00:00:00+00:00 List-Id: pluto1@choice.net (Brian Mueller) writes: [much snipped] > Well, it's 1998, I'm in C.S. 101 at the University of Cincinnati, RWC > and we're learning how to badly code ADA (i.e. forget about code > errors, concentrate on "design documents") > > Wish they would just teach me C, teach me GOOD C, teach me GREAT C, > teach my how not to screw up C so I could write anything. Anyone > wonder why the object ADA compiler and GUI program is written in C? > Because with a bit of extra work FASTER programs can be written in C > that do the same thing that ADA will do. It won't be "a bit", unless you are a super-human, never distracted... For the "FASTER" it depend on the compiler. Maybe it's true for Object Ada. Try to compare C code with equivalent Ada code having Inline pragmas at the right places, compiled by GNAT with options like "-O2 -gnatpn"... For learning GREAT C, surf the Net! You'll find _plenty_ of portable, memory-model independant, readable C code, with clear, simple headers structured like Ada specifications... -- Gautier