|
|
s0suk3@xxxxxxxxx wrote:
> 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??
So-called "camel-case" isn't as traditional in C. I've seen in more
often in C++. That being said, when I worked on a major project at my
company in the mid-90s, the coding standard mandated camel-case rather
than underscores. It doesn't really matter to me in writing or reading
code which one is used. It's another case where consistency is probably
more important.
Brian
|
|