mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Jens Gustedt <jens.gustedt@inria.fr>
Cc: musl@lists.openwall.com
Subject: Re: alternative form flag with zero octal value
Date: Thu, 11 Jan 2018 09:12:29 +0100	[thread overview]
Message-ID: <20180111091229.3482569b@inria.fr> (raw)
In-Reply-To: <20180111021750.GH1627@brightrain.aerifal.cx>

[-- Attachment #1: Type: text/plain, Size: 737 bytes --]

Hello,
seeing this patch, I am somewhat horrified by the coding style that is
applied in that file.

Comma operator, seriously? Conditionals without proper indentation?
"else" at the end of a line and the depending statement in the next
case?

If have nothing against clever use of switch cases for such
complicated case analysis, but the coding style should prominently
make this clear and not obfuscate.


Thanks
Jens

-- 
:: INRIA Nancy Grand Est ::: Camus ::::::: ICube/ICPS :::
:: ::::::::::::::: office Strasbourg : +33 368854536   ::
:: :::::::::::::::::::::: gsm France : +33 651400183   ::
:: ::::::::::::::: gsm international : +49 15737185122 ::
:: http://icube-icps.unistra.fr/index.php/Jens_Gustedt ::

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  reply	other threads:[~2018-01-11  8:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-11  0:43 Peter Wang
2018-01-11  2:02 ` Rich Felker
2018-01-11  2:17   ` Rich Felker
2018-01-11  8:12     ` Jens Gustedt [this message]
2018-01-11 18:55       ` Rich Felker
2018-01-11 19:36         ` Jens Gustedt
2018-01-12  0:38           ` Rich Felker
2018-01-12  8:54             ` Jens Gustedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180111091229.3482569b@inria.fr \
    --to=jens.gustedt@inria.fr \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).