Be consistent with other people already working on your codebase.
[Naming Conventions are awesome](http://en.wikipedia.org/wiki/Naming_convention_(programming\)). They establish order, improve readability, and help teams be more productive.
Either if you decide to work alone or as a part of a team, adherence to code style conventions will make you a better programmer.
Some popular programming languages and their general styles:
-
C
-
C++
-
C#
-
Java
-
Javascript
-
Objective-C
-
Python
-
Ruby
-
Visual Basic .NET
References