Sujet : Re: Which code style do you prefer the most?
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.cDate : 26. Feb 2025, 13:58:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vpn35q$2ims9$1@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 26.02.2025 10:21, G wrote:
Re "goofy style"
Well, my own would be:
while (q(a,b))
{ a=b;
f(x);
if (c>d)
{ g(y);
}
}
weird, I know, but I like the braces aligned and easy to check and don't like
wasted hor or vert space, so...
I occasionally use that structure in Awk code, so I cannot agree to
call it weird. :-)
Janis