[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change a while loop into do while
From: |
Eli Zaretskii |
Subject: |
Re: Change a while loop into do while |
Date: |
Sat, 31 Dec 2016 22:59:53 +0200 |
> Cc: address@hidden, address@hidden
> From: Paul Eggert <address@hidden>
> Date: Sat, 31 Dec 2016 12:56:35 -0800
>
> Eli Zaretskii wrote:
> >> It's not the usual GNU style.
> > Maybe so, but it's widespread enough in Emacs sources, including
> > outside of any macros, so it's a de-facto standard here.
>
> No, the de facto standard even in Emacs sources is the usual GNU style.
> Outside
> of macro statements I count 142 instances of the usual GNU style, as opposed
> to
> only 28 instances of the K&R-ish style where "do {" is on the same line.
28 instances are more than enough for me.