Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh coding standards



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