🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1198

Re: does an expression in a logical statement need parenthesis for proper evaluation?

#1198
From: Janis Papanagnou
Date: Fri, 06 Nov 2026 08:17
18 lines
2113 bytes
On 2026-11-06 08:49, David Brown wrote:
> [...]
> 
> There is a proportion of programmers who think it is somehow blasphemy 
> to use more parentheses in an expression than strictly necessary.  [...]

"blasphemy", wow! - The exaggerations (despite being here, allegedly,
softened by the word "somehow") seem to have become in vogue, lately.
(Formerly I saw such argumentation paths prevalently in one specific
poster's posts only. Communication style seems to be infectious. :-)

Most (all?) professionals seem to prefer clearness as you do. Whatever
it needs to obtain that; less parentheses or additional parentheses -
depending on the expressions' complexity and context! - Largely still
subjective anyway, but less of religious intensity, I'd say.

Janis
Technical Details
Message-ID: <11ck2e4$23539$5@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11cj4a0$23796$1@dont-email.me> <11cj994$24m06$1@dont-email.me> <11ck0pr$2amtc$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.lang.c++,comp.lang.c
Subject: Re: does an expression in a logical statement need parenthesis for
 proper evaluation?
Date: Fri, 6 Nov 2026 09:17:08 +0100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <11ck2e4$23539$5@dont-email.me>
References: <11cj4a0$23796$1@dont-email.me> <11cj994$24m06$1@dont-email.me>
 <11ck0pr$2amtc$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 06 Nov 2026 08:17:08 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2200681"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19ZE0xkCaruiIHrTUyFa2qZ"; posting-host="a1c3eccefbcc1d6f648cf481fadc4299"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:UQokwusMJv0o4QePexWHu4uT7Og= sha256:i/wPVGVZeH4/ug4JEOSQW5BM3NCQoPPz2gTt8QgUVck=
	sha1:BfclB3evuJPFsuj+DFyL4AWMpcs= sha256:+G3Cl2bMqqLVF0A/CzmfdhIVMKvXm0ItgwBwhCT5yGc=
Content-Language: en-US
In-Reply-To: <11ck0pr$2amtc$1@dont-email.me>