Deutsch English Français Italiano |
<vq83a4$232tl$11@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: Which code style do you prefer the most? Date: Tue, 4 Mar 2025 23:45:09 -0000 (UTC) Organization: A noiseless patient Spider Lines: 34 Message-ID: <vq83a4$232tl$11@dont-email.me> References: <vpkmq0$21php$1@dont-email.me> <20250304175602.c9fe683d678d3a2ed101a4ac@g{oogle}mail.com> <vq75k8$1t6ut$2@dont-email.me> <vq785i$1u7v7$1@dont-email.me> <20250304101022.154@kylheku.com> <vq7shq$226p3$1@dont-email.me> <vq7u5u$21gol$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 05 Mar 2025 00:45:09 +0100 (CET) Injection-Info: dont-email.me; posting-host="ccde15c8b30be8b462a3deae2fb7e66d"; logging-data="2198453"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/FNnkxxiQWXl1bqoGdlrYE" User-Agent: Pan/0.162 (Pokrosvk) Cancel-Lock: sha1:bOVtSyMYz6wDeMFP1wAYHTh2eKQ= Bytes: 1773 On Tue, 4 Mar 2025 22:17:34 +0000, Richard Heathfield wrote: > if((a != b && > c != d && > e != f) || > (g = h() * i() && > (j = k)) > { > foo(); > } if ( a != b && c != d && e != f || g == h() * i() && j == k ) { foo(); } /*if*/ (with typos corrected and parentheses clutter removed) Or better, with alternative symbols from iso646.h: if ( a != b and c != d and e != f or g == h() * i() and j == k ) { foo(); } /*if*/