Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: variable names: camel case or underscores? (even more o.t.)

Author: Roberto Nerici

Date: 07:44:49 03/05/04

Go up one level in this thread


>When we are at it, why does almost everyone today uses camel case for namnig
>variables?
>
>doYouThinkThatCamelCaseIsEasierForReading
>or_maybe_using_underscores_is_more_readable ?!
>
>The coding conventions of Windows API, MFC, Java, C# all use camel case for
>variables. STL is the only place where I can see underscores used.

If you're using hungarian notation, you're probably already starting variables
with a lower case letter...

I always used to use CapitalisedWords for variables and words_with_underscores
for functions. But I tend to use the former for everything now. Don't know
why... shorter?

Roberto/.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.