Jump to content
  • Advertisement
Sign in to follow this  
Ainokea

Naming conventions

This topic is 5114 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have been using hungarion notation for awhile and I cant take it anymore so, what naming conventions do you use and reccomend?

Share this post


Link to post
Share on other sites
Advertisement
I use exactly the same naming conventions as thedevdan. Btw, don't start prefixing classes with a C, please :)

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I perfer Java style:
variableName
ClassName
functionName

Share this post


Link to post
Share on other sites
Quote:
Original post by Boder
variable_names
CNames
Function_Names

edit: why no C for class names?


How about this: why should you? [wink]

Share this post


Link to post
Share on other sites
Well I think there should be some way to distinguish classes from user-defined structs and enums. [crying]

Share this post


Link to post
Share on other sites
Quote:
Original post by Boder
Well I think there should be some way to distinguish classes from user-defined structs and enums. [crying]


Why does it matter if classes can be distinguished from structs and enums? In other words, what is gained from it?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I forgot to login, I was the anonymous poster

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!