Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh coding standards
- X-seq: zsh-workers 20597
- From: Alexandre Duret-Lutz <adl@xxxxxxxxxxx>
- To: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: zsh coding standards
- Date: Mon, 29 Nov 2004 17:57:02 +0100
- Cc: Peter Stephenson <pws@xxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxxxxx>
- In-reply-to: <20041129164253.GA539@xxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20041129115700.GA4569@sc> <200411291210.iATCA9wt020885@xxxxxxxxxxxxxx> <20041129164253.GA539@xxxxxxxxx>
On Mon, Nov 29, 2004 at 08:42:53AM -0800, Wayne Davison wrote:
>
> Use "{}" on an empty loop instead of ";" to make it more obvious that no
> looping statements follow.
while (*++s == '/')
continue;
I discovered this very readable style in Bison's sources recently, and
adopted it.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author