Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site cyb-eng.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!ut-sally!oakhill!cyb-eng!howard From: howard@cyb-eng.UUCP (Howard Johnson) Newsgroups: net.lang.c Subject: Re: more about idiomatic programming Message-ID: <596@cyb-eng.UUCP> Date: Wed, 17-Jul-85 14:50:22 EDT Article-I.D.: cyb-eng.596 Posted: Wed Jul 17 14:50:22 1985 Date-Received: Sat, 20-Jul-85 07:28:04 EDT References: <11457@brl-tgr.ARPA> <68@ucbcad.UUCP> Organization: Cyb Systems, Austin, TX Lines: 23 <11457@brl-tgr.ARPA>: >> Let's say I am a person whose programming experience consisted a few >> high school and college courses in Basic & Pascal. Ok, now let's say I >> have a problem that I want solved by a programmer. The programmer comes >> back to me with a program which doesn't do quite what I wanted. ... >> I'm lost, the programmer doesn't know what's wrong, and we're stuck. >> However if the program said "stuff = stuff + 1" or even >> "increment(stuff)", I could say "Aha! ..." ... <68@ucbcad.UUCP>: > You should either: (1) Hire programmers who do the right thing, or (2) >Learn C. If there are nice features ... > Anyway, you should admit that you are fighting a losing battle -- C >programmers write programs that should be understood by and only by other >C programmers, and if you don't know C you have no business trying to >understand it. Just when I lost interest in the "x = x + 1" brouhaha, another caustic comment comes in and spoils the boredom. "If you don't know C, you have no business expecting to successfully debug someone else's C program until you've done your homework." (Translate: homework = read a book explaining C.) Now, if more C compilers would do a better job of code optimization ...