From owner-freebsd-questions@FreeBSD.ORG Mon Jun 7 21:02:52 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B5A216A4CE for ; Mon, 7 Jun 2004 21:02:52 +0000 (GMT) Received: from lilzmailso01.liwest.at (lilzmailso01.liwest.at [212.33.55.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F80B43D53 for ; Mon, 7 Jun 2004 21:02:52 +0000 (GMT) (envelope-from dgw@liwest.at) Received: from cm217-96.liwest.at ([81.10.217.96]) by lilzmailso01.liwest.at with esmtp (Exim 4.24) id 1BXRFT-0006y5-Ut; Mon, 07 Jun 2004 23:01:39 +0200 From: Daniela To: "Goodleaf, John" , Date: Mon, 7 Jun 2004 21:55:10 +0000 User-Agent: KMail/1.5.3 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200406072155.10022.dgw@liwest.at> Subject: Re: OT: group coding standards X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dgw@liwest.at List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2004 21:02:52 -0000 On Monday 07 June 2004 20:10, Goodleaf, John wrote: > Hello, > I'm abusing the mailing list because many of you are sickeningly > clever and have long experience in IT. I'm working to establish a > document (yep) providing guidance for our company's > small-but-growing IT group with regard to coding standards and > practices. It seems rife with potential problems and there is > already the potential for one of those variable-naming holy wars > (e.g. intVariableName, varname, VarName, varName). So my question: > is there a good document out there on the net somewhere, maybe > hiding at a University site from which I can draw for general > consideration? Any experiences? Recommendations? > > It's a hard problem. How do you provide conventions that don't annoy > the hell out of programmers, but which ensure that legibile, > maintainable code is left? Well, other programmers may have a different opinion, but I can at least tell you what I would prefer: I would have no problems with coding standards that allow you to clean up _after_ a session, because I lose half of my good ideas while bothering with coding standards. Good would be some convention where you can just modify your code with sed(1) afterwards, that's not much overhead. Daniela