|
-
May 1st, 2012, 12:56 PM
#2
Re: Why start variable names with _?
Style, nothing more. The idea is that the name instantly tells you something about the variable.
Some people start private members with _ (or, more commonly, m_ for "my"). Some people start function parameters with _. It doesn't serve any useful purpose except to the person maintaining the code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|