Member Variables Naming Convention



I was just wondering what naming convention most of you use for class
variables.

Underscore, "m_" prefix, camel case, capitalized, etc?

Has one style emerged as the most popular?

Thanks for any comments.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com


.



Relevant Pages

  • Re: Member Variables Naming Convention
    ... Underscore, "m_" prefix, camel case, capitalized, etc? ... Sounds somewhat funny to me because in german the word camel ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Hungarian Notation
    ... > notation and prefix with underscore. ... This is one naming convention many developers seem to use, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Member Variables Naming Convention
    ... Jonathan Wood wrote: ... Underscore, "m_" prefix, camel case, capitalized, etc? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: What is the standard for naming objects?
    ... underscore, there are places you don't see that underscore on screen, I use ... All identifiers will capitalize the first letter of each ... For private member variables that are class level variables, I prefix ... Examples: storing someone's age in a byte: Dim iAge As Byte ...
    (microsoft.public.dotnet.general)
  • Re: Relationship advice
    ... In all cases, please prefix the phrase "All else being equal, " ... Millions of Access and VB books with the Reddick naming convention ... as tbl, qry, frm, rpt, etc. ... Tony Toews, Microsoft Access MVP ...
    (microsoft.public.access.tablesdbdesign)

Loading