Re: kernel guide to space

From: Miles Bader
Date: Thu Jul 21 2005 - 21:31:51 EST


"linux-os \(Dick Johnson\)" <linux-os@xxxxxxxxxxxx> 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!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/