Article View: comp.lang.c
Article #1396Re: does an expression in a logical statement need parenthesis for proper evaluation?
From: Lawrence D’Oliveiro
Date: Mon, 09 Nov 2026 22:41
Date: Mon, 09 Nov 2026 22:41
14 lines
1916 bytes
1916 bytes
On Mon, 9 Nov 2026 06:00:40 -0500, James Kuyper wrote: > I tend not to use unnecessary parentheses, and I know the grammar > well enough to correctly identify them - but many people don't know > the grammar that well, which might include the next person to > maintain my code. Even if they haven’t committed the precedence table to memory, surely they have the ability to look things up online <https://en.cppreference.com/c/language/operator_precedence>. If someone has regular trouble with certain language features, why aren’t pages that clarify those very issues not already in their browser bookmarks?
Technical Details
Message-ID:
<11cti69$1lilf$5@dont-email.me>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11cj4a0$23796$1@dont-email.me> <11crsub$11ikc$1@dont-email.me> <11cs94q$15ptp$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Lawrence D’Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c++,comp.lang.c Subject: Re: does an expression in a logical statement need parenthesis for proper evaluation? Date: Mon, 9 Nov 2026 22:41:14 -0000 (UTC) Organization: A noiseless patient Spider Lines: 14 Message-ID: <11cti69$1lilf$5@dont-email.me> References: <11cj4a0$23796$1@dont-email.me> <11crsub$11ikc$1@dont-email.me> <11cs94q$15ptp$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 09 Nov 2026 22:41:14 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1755823"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19nZrSPq9nQP4V78qziVJPn"; posting-host="b0c2c8b7b1ddf4d4862b04a4598f7af2" User-Agent: Pan/0.165 (Kostiantynivka) Cancel-Lock: sha1:tTHJvhcW+aLGdnnrbD5sfENxm3Y= sha256:SP7Wuc1I92wYpKYiqlREW4vysroHAi/LzMIU1Ptumhw= sha1:n+rW8yKsb3G7RQ8Sss290+umRws= sha256:sCrtkl1v5jHbFdJgvV/ZwBSQNQuC7bKBhOKtWydyqUY=