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, 14:06:47
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vpn3l8$2ipsc$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 12:53, Ar Rakin wrote:
Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes:
>
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.
That looks like a nightmare for the code reviewers.
I cannot tell where that comes from; the person who uses it is an
experienced Perl programmer - may that be some convention in that
specific language context? (I can't tell.)
WRT code reviews; in the past I had horrendous code that I needed
to reformat using a code-beautifier before I could review it. But
those were extreme (and only rare) cases. (And above yet isn't as
bad as those other artworks I had.)
Janis