From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262018AbVGVCae (ORCPT ); Thu, 21 Jul 2005 22:30:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262019AbVGVCad (ORCPT ); Thu, 21 Jul 2005 22:30:33 -0400 Received: from TYO202.gate.nec.co.jp ([210.143.35.52]:47850 "EHLO tyo202.gate.nec.co.jp") by vger.kernel.org with ESMTP id S262018AbVGVCaa (ORCPT ); Thu, 21 Jul 2005 22:30:30 -0400 To: "linux-os \(Dick Johnson\)" Cc: "Jesper Juhl" , "Kyle Moffett" , "Paul Jackson" , "Jan Engelhardt" , , Subject: Re: kernel guide to space References: <20050714011208.22598.qmail@science.horizon.com> <20050720174521.73c06bce.pj@sgi.com> <3FC51285-941F-48B6-B5A9-1BBE95CCD816@mac.com> <9a874849050721114227f3c6a7@mail.gmail.com> From: Miles Bader Reply-To: Miles Bader System-Type: i686-pc-linux-gnu Blat: Foop Date: Fri, 22 Jul 2005 11:29:55 +0900 In-Reply-To: (linux-os@analogic.com's message of "Thu, 21 Jul 2005 15:37:44 -0400") Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org "linux-os \(Dick Johnson\)" writes: > It will take probably an hour to parse: > struct BusLogic_FetchHostAdapterLocalRAMReguest FetchHostAdapterLocalRAMRequest > ^!) Agh! My eyes! The above names are way overdone by any measure, but is there any consensus whether studly-caps in general are discouraged or not? CodingStyle is vague on the issue, though it kind of implies you should use underscores when multiple words are needed (the sole example of studly caps is in a negative context, and a following recommended name uses underlines). The kernel source seems pretty random -- they get used here and there, but more often not; they seem more common in older code. If they are discouraged, it might be better to say so explicitly, as there are many programmers these days who are used to using them. -Miles -- Run away! Run away!