Naming Convention

Reply

Join Date: Jul 2009
Posts: 8
Reputation: metdos is an unknown quantity at this point 
Solved Threads: 0
metdos metdos is offline Offline
Newbie Poster

Naming Convention

 
0
  #1
Aug 6th, 2009
Is there any naming convention for C++ which is widely used and accepted?
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 1,873
Reputation: twomers has a spectacular aura about twomers has a spectacular aura about twomers has a spectacular aura about 
Solved Threads: 56
twomers's Avatar
twomers twomers is offline Offline
Posting Virtuoso

Re: Naming Convention

 
1
  #2
Aug 6th, 2009
No.

Everyone thinks the one they use is the best. Do something that makes sense. Nobody will complain too much so long as it's sensible.
I blag!?
"Mr Kitty, you have to live in the attic now. Here, write a diary."
I am the Walrus!
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 1,934
Reputation: firstPerson is a name known to all firstPerson is a name known to all firstPerson is a name known to all firstPerson is a name known to all firstPerson is a name known to all firstPerson is a name known to all 
Solved Threads: 254
firstPerson's Avatar
firstPerson firstPerson is offline Offline
Posting Virtuoso

Re: Naming Convention

 
0
  #3
Aug 6th, 2009
Just don't use Hungarian. I use Camel naming convention like so ,

float PlayerLife
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 1,873
Reputation: twomers has a spectacular aura about twomers has a spectacular aura about twomers has a spectacular aura about 
Solved Threads: 56
twomers's Avatar
twomers twomers is offline Offline
Posting Virtuoso

Re: Naming Convention

 
0
  #4
Aug 6th, 2009
I go for a grazing cammel
double playerLifeForce;
I blag!?
"Mr Kitty, you have to live in the attic now. Here, write a diary."
I am the Walrus!
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 3,317
Reputation: Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute Nick Evan has a reputation beyond repute 
Solved Threads: 337
Moderator
Featured Poster
Nick Evan's Avatar
Nick Evan Nick Evan is offline Offline
Cenosillicaphobiac

Re: Naming Convention

 
1
  #5
Aug 6th, 2009
Originally Posted by twomers View Post
I go for a grazing cammel
double playerLifeForce;
I choose the Hungarian grazing Homer Simpson :
bool iDuff = true;
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum


Views: 467 | Replies: 4
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC