From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 15 23:24:27 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79D4716A41F; Thu, 15 Dec 2005 23:24:27 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2ABA43D60; Thu, 15 Dec 2005 23:24:26 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id jBFNNqY4054444; Thu, 15 Dec 2005 16:23:52 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 15 Dec 2005 16:23:52 -0700 (MST) Message-Id: <20051215.162352.28837879.imp@bsdimp.com> To: V.Haisman@sh.cvut.cz From: Warner Losh In-Reply-To: <43A1F97A.3060102@sh.cvut.cz> References: <20051215223745.GA37768@FreeBSD.czest.pl> <43A1F97A.3060102@sh.cvut.cz> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Thu, 15 Dec 2005 16:23:52 -0700 (MST) Cc: freebsd-hackers@freebsd.org, dunstan@freebsd.czest.pl, phk@freebsd.org Subject: Re: [CALL FOR TESTERS] New system call: abort2() X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2005 23:24:27 -0000 > 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