Re: Mixed case?
s0suk3@xxxxxxxxx writes:
I'm totally new to C, so this is a question from a total newbie. I
know most people write the names in C with underscores,
as_in_this_name. But... is it also customary to write them in mixed
case, asWithThisName? Or is it a horrible horrible horrible thing to
do??
It's a personal preference issue. If you are working within an
existing collection of code that uses a given convention, then I
would advise sticking with that convention. If you are writing
your own code, then you can choose the convention that you
prefer.
--
"When I have to rely on inadequacy, I prefer it to be my own."
--Richard Heathfield
.
Relevant Pages
- Re: Using underscores in type names
... names of the test functions (which are synonymous with the class ... There's nothing wrong with the underscores per se. ... className and rename all of my test function classes to ... Note that if you follow the convention suggestion your new class name will be "ClassName", ... (microsoft.public.dotnet.framework) - Re: How to call module functions inside class instance functions?
... it is some sort of naming convention for me. ... The two underscores are exactly the cause of your problem: ... the error message, the compiled has inserted the CLASS name (not MODULE ... (comp.lang.python) - Re: Naming convention
... When i said namming conventions i?m talking about how name the ... Variable names must begin w/ an alphabetic character and include only alphanumeric characters and/or underscores. ... About the only convention I recall TMW mention of is the one for all capital letters for global variables. ... (comp.soft-sys.matlab) - Re: Variable naming conventions.
... char *first_name; ... It's underscores against camel case. ... of that preference. ... predominating convention in most modern programming languages is mixed ... (comp.lang.c) |
|