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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10ad19,23963231b5359f74 X-Google-Attributes: gid10ad19,public X-Google-Thread: 101deb,23963231b5359f74 X-Google-Attributes: gid101deb,public X-Google-Thread: 1073c2,23963231b5359f74 X-Google-Attributes: gid1073c2,public X-Google-Thread: 107a89,23963231b5359f74 X-Google-Attributes: gid107a89,public X-Google-Thread: 103376,23963231b5359f74 X-Google-Attributes: gid103376,public X-Google-Thread: 10a146,23963231b5359f74 X-Google-Attributes: gid10a146,public X-Google-ArrivalTime: 2001-06-15 10:11:38 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newspeer.clara.net!news.clara.net!server3.netnews.ja.net!newshost.central.susx.ac.uk!news.bton.ac.uk!not-for-mail From: John English Newsgroups: comp.lang.ada,comp.lang.awk,comp.lang.clarion,comp.lang.java.programmer,comp.lang.pl1,comp.lang.vrml Subject: Re: Long names are doom ? Date: Fri, 15 Jun 2001 16:53:02 +0100 Organization: University of Brighton Message-ID: <3B2A2F5E.A408426B@brighton.ac.uk> References: <3B0DBD4A.82943473@my-deja.net> <3B0DD011.88FCD00E@acm.org> <83WP6.3874$yc6.728572@news.xtra.co.nz> <3B1411D0.3AAF42E7@ftw.rsc.raytheon.com> <9f2nks$ibd$0@dosa.alt.net> <3B177EF7.2A2470F4@facilnet.es> <9f8b7b$h0e$1@nh.pace.co.uk> <9f8r0i$lu3$1@nh.pace.co.uk> <3b1ee2d5$2$fuzhry$mr2ice@va.news.verio.net> <3b20009c$2@news.tce.com> <3b2759c6$2$fuzhry$mr2ice@va.news.verio.net> NNTP-Posting-Host: pc2je.it.bton.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: saturn.bton.ac.uk 992624347 5437 193.62.183.154 (15 Jun 2001 16:59:07 GMT) X-Complaints-To: news@bton.ac.uk NNTP-Posting-Date: 15 Jun 2001 16:59:07 GMT X-Mailer: Mozilla 4.7 [en-gb] (Win95; U) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:8786 comp.lang.awk:3076 comp.lang.clarion:22056 comp.lang.java.programmer:76720 comp.lang.pl1:1052 comp.lang.vrml:3830 Date: 2001-06-15T16:59:07+00:00 List-Id: "Shmuel (Seymour J.) Metz" wrote: > > In <3b20009c$2@news.tce.com>, on 06/07/2001 > at 10:34 AM, "Dale King" said: > > > Actually it is quite cryptic. The first question is why is k being > >dereferenced and the value thrown away? > > I must admit that I missed that one; i read the last value as (*k)++ > instead of *(k++). But I haven't used C for a decade and a half; > someone using it on a daily basis would remember the precedence for > such common operators. Not necessarily. I've come across C developers with many years experience who occasionally write "if (a = b) ..." instead of "if (a == b)..." because, even with all that experience, it stills looks plausible and the fingers will still occasionally betray the mind. ----------------------------------------------------------------- John English | mailto:je@brighton.ac.uk Senior Lecturer | http://www.comp.it.bton.ac.uk/je Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS ** University of Brighton | -- see http://burks.bton.ac.uk -----------------------------------------------------------------