Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2005 16:23:52 -0700 (MST)
From:      Warner Losh <imp@bsdimp.com>
To:        V.Haisman@sh.cvut.cz
Cc:        freebsd-hackers@freebsd.org, dunstan@freebsd.czest.pl, phk@freebsd.org
Subject:   Re: [CALL FOR TESTERS] New system call: abort2()
Message-ID:  <20051215.162352.28837879.imp@bsdimp.com>
In-Reply-To: <43A1F97A.3060102@sh.cvut.cz>
References:  <20051215223745.GA37768@FreeBSD.czest.pl> <43A1F97A.3060102@sh.cvut.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
> I would like to comment on FreeBSD style(9) a bit. Why does not mention
> or even encourage C99 style // comments? They are nice when one wants to
> comment out bigger chunks of code with /**/ comment.

Too new.  /**/ comment out is bogus anyway.  #if 0 ... #endif is better.

> On the similar note, the ability to move declarations closer to the
> point of use in code is IMO nice feature, too. The style(9) doesn't
> mention this either.

C doesn't allow it, or didn't until recently.  That style tends to
lead to really gross things too.  Functions should be short enough
that it doesn't matter.

But changing style(9) is hard.  We have better things to do with our
lives. :-)

Warner



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