Deutsch English Français Italiano |
<vplf5d$26v09$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com> Newsgroups: comp.lang.c Subject: Re: Which code style do you prefer the most? Date: Tue, 25 Feb 2025 23:10:52 +0100 Organization: A noiseless patient Spider Lines: 31 Message-ID: <vplf5d$26v09$1@dont-email.me> References: <vpkmq0$21php$1@dont-email.me> <vpl2k4$24fmt$1@dont-email.me> <20250225104754.267@kylheku.com> <zWovP.1403558$21T3.838698@fx18.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Tue, 25 Feb 2025 23:10:54 +0100 (CET) Injection-Info: dont-email.me; posting-host="51a74f0d3aeff0be9f40bd5281a51c0a"; logging-data="2325513"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19eXCVb+sfaH4ZPk7Z3aX/N" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 Cancel-Lock: sha1:5B9B7X1H5SCh80m/qmfegOirShE= X-Enigmail-Draft-Status: N1110 In-Reply-To: <zWovP.1403558$21T3.838698@fx18.iad> On 25.02.2025 20:33, Scott Lurndal wrote: > Kaz Kylheku <643-408-1753@kylheku.com> writes: >> >> OP didn't properly characterize GNU style. >> >> GNU style is actually something like this: >>[...] >> Four space indentation, but braces half-indent by two spaces. > > Which is one of the goofier styles I've seen. Although I don't recall > ever seeing it actually done that way, even in gnu code. Re "goofy style"; I've seen someone preferring while (q(a,b)) { a=b; f(x); if (c>d) { g(y); } } To each his own. Janis > [...]