[cfe-dev] [LLVMdev] draft rule for naming types/functions/variables
Bo Persson
bop at gmb.dk
Mon Nov 29 00:39:03 PST 2010
On 29 nov 2010 03:47 "Xu Zhongxing" <xuzhongxing at gmail.com> wrote:
> Hi,
> I enjoyed the new coding style in recent patches. Camel case makes it
> easy to pick a descriptive name. Starting functions and variables with
> lower cases reduces chances to conflict with a type name.
On the other hand, having names that only differ in the case of a single character, is not really improving readability at all.
In my opinion, this is a misuse of the C family language rules that happen to allow it. In other languages it is forbidden.
Bo Persson
More information about the cfe-dev
mailing list