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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1d321b3a6b8bcab2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-23 10:35:58 PST Path: nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.ems.psu.edu!news.pop.psu.edu!hudson.lm.com!godot.cc.duq.edu!news.duke.edu!zombie.ncsc.mil!news.mathworks.com!uunet!newsgate.watson.ibm.com!watnews.watson.ibm.com!ncohen From: ncohen@watson.ibm.com (Norman H. Cohen) Newsgroups: comp.lang.ada Subject: Re: "Subtract C, add Ada" Date: 23 Jan 1995 18:35:58 GMT Organization: IBM T.J. Watson Research Center Distribution: world Message-ID: <3g0sue$iba@watnews1.watson.ibm.com> References: <3etund$hnr@miranda.gmrc.gecm.com> <3f4mbe$rud@cronkite.seas.gwu.edu> <3f5s92$3id@info.epfl.ch> <3fnf28$s3f@Starbase.NeoSoft.COM> <3frqpg$re5@cronkite.seas.gwu.edu> Reply-To: ncohen@watson.ibm.com NNTP-Posting-Host: rios8.watson.ibm.com Date: 1995-01-23T18:35:58+00:00 List-Id: In article <3frqpg$re5@cronkite.seas.gwu.edu>, dobrien@seas.gwu.edu (David O'Brien) writes: |> In article <3fnf28$s3f@Starbase.NeoSoft.COM> you wrote: |> : It's a question of who optimizes your code. In the 60s, |> : when C was developed, compilers *couldn't* optimize code, |> : so the programmer had to. Many apparently-bizarre C |> : capabilities are there to support optimization level -1 |> : (programmer does the optimizations). ... |> : Consider the common C idiom to copy a null-terminated |> : array, usually a string [syntax may not be quite right]: |> |> : while (*a++=*b++); |> |> I am curious about programming culture. Notice that when someone writes |> something in C they feel they have to remove all white space. When they |> write in Ada they put in plenty and use [very] long names for every |> thing. Why is that??? No wonder people say C is hard to read. It's because the primitive compilers of the 1970's were incapable of optimizing away the whitespace. ;-) -- Norman H. Cohen ncohen@watson.ibm.com