Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Oct 2003 09:48:55 +0000
From:      Tony Finch <dot@dotat.at>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/rpc clnt_simple.c
Message-ID:  <20031030094855.GD22725@chiark.greenend.org.uk>
In-Reply-To: <20031029.223237.01027561.imp@bsdimp.com>
References:  <200310290918.h9T9IiwQ095857@repoman.freebsd.org> <20031029095700.GU84474@garage.freebsd.pl> <20031029101805.GA24695@falcon.midgard.homeip.net> <20031029.223237.01027561.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 29, 2003 at 10:32:37PM -0700, M. Warner Losh wrote:
> 
> Yes.  More correct.  For the same reason that
> 
>       while (foo) {
>       ...
>       }
> 
> is more correct than:
> 
> top:
> 	if (foo) goto out;
> 	...
> 	goto top;
> out:

Part of the point of a style guide is it helps to avoid basic traps
and pitfalls :-)

Tony.
-- 
f.a.n.finch  <dot@dotat.at>  http://dotat.at/
BAILEY: NORTHEAST 7 TO SEVERE GALE 9. OCCASIONAL RAIN. MODERATE.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031030094855.GD22725>