Article View: comp.lang.c
Article #1557Re: does an expression in a logical statement need parenthesis for proper evaluation?
From: David Brown
Date: Mon, 16 Nov 2026 08:50
Date: Mon, 16 Nov 2026 08:50
65 lines
3980 bytes
3980 bytes
On 15/11/2026 04:28, Janis Papanagnou wrote: > On 2026-11-15 03:22, Keith Thompson wrote: >> James Kuyper <jameskuyper@alumni.caltech.edu> writes: >>> On 2026-11-14 14:05, Tristan Wibberley wrote: >>>> On 06/11/2026 15:33, James Kuyper wrote: >>>>> On 2026-11-06 00:35, Keith Thompson wrote: >>>>>> James Kuyper <jameskuyper@alumni.caltech.edu> writes: >>>>>> [...] >>>>>>> Otherwise, one or more parentheses >>>>>>> might solve the problem. >>>>>> >>>>>> Technically correct (the best kind of correct), but *two* or more >>>>>> parentheses are even better. >>>>> >>>>> I should have said "... one or more matched pairs of parentheses ...". >>>> >>>> You have clearly suffered the pedants more than one man should have to >>>> bear. I feel for you. >>> >>> I am one of the worst pedants you're likely to meet. I cannot object to >>> such minor pedantry. > > :-) > >> Pedants unite! > > Ped-ants un-ite. > > Did it occur to you that "ped" is a Latin prefix for "foot", that > "ants" are insects with many feet, and "ite" in Latin means "go!", > and I wonder why there's the "un" prefix that negates "un-ite" as > "Don't go!". Probably a hidden request to not use "Go" as language > but rather focus on "C" here?! > I'm taking James' claim as a challenge! A /real/ pedant would know that "ped" is from the /Greek/ word for "child". The etymology of "pedant" is an old word for "schoolmaster" or "teacher" (specifically of children). :-) >> >> And my remark was intended mostly for humorous effect. > > Please abstain from all humorous statements! - Note: "We [...] do > not have a sense of humor we're aware of." (You know the quote!?) Is it from the USA airport security guard training manual? (Yes, I know it is from a film, but I can't quite place it at the moment.) > >> (Hoping this doesn't start a debate about whether it was funny.) /I/ thought it was amusing. But maybe I have a weird sense of humour. I am Scottish, after all, and in Scottish humour the smiley's are often bigger when they are well-hidden. > > Oops! - You failed in a way. - Oh, "a way"; we *go* on a way. - > I suspect a conspiracy to subvert the purpose of this newsgroup! > Doesn't it have to be hidden to be a conspiracy? Some people have been very open about trying to spoil the group!
Technical Details
Message-ID:
<11deg3s$3do6k$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11cj4a0$23796$1@dont-email.me> <11cj8ch$24f93$1@dont-email.me> <11cjou8$28l4t$1@kst.eternal-september.org> <11cks0d$2l6em$1@dont-email.me> <11dabef$25o2o$2@dont-email.me> <11db39o$2dura$1@dont-email.me> <11db51g$2ed0n$1@kst.eternal-september.org> <11db8so$1fnqt$3@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: David Brown <david.brown@hesbynett.no> Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: does an expression in a logical statement need parenthesis for proper evaluation? Date: Mon, 16 Nov 2026 09:50:04 +0100 Organization: A noiseless patient Spider Lines: 65 Message-ID: <11deg3s$3do6k$1@dont-email.me> References: <11cj4a0$23796$1@dont-email.me> <11cj8ch$24f93$1@dont-email.me> <11cjou8$28l4t$1@kst.eternal-september.org> <11cks0d$2l6em$1@dont-email.me> <11dabef$25o2o$2@dont-email.me> <11db39o$2dura$1@dont-email.me> <11db51g$2ed0n$1@kst.eternal-september.org> <11db8so$1fnqt$3@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 16 Nov 2026 08:50:05 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3596500"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/PzP5VlGSfh8YFqYY0W6ySLhQ6HiV8lbg="; posting-host="c31182eabd9a2ca7f003cefac1772668" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:pA3YNqW7N8npZDM5y/XsQU9Z7Cs= sha256:8XpLLSq1165BpQeUOy5+vy5/mjnYPxsfp+0XGlpSv+c= sha1:IfRqpmmCrjAtfxaLcHxi2GcRdmE= sha256:WLsAad5BvnQhuEu1su2XG/0MJB7UI2LCysmEFe8EvhY= In-Reply-To: <11db8so$1fnqt$3@dont-email.me> Content-Language: en-GB, nb-NO