[bind10-dev] The small matter of a trailing "_"

Likun Zhang zlkzhy at gmail.com
Tue Jan 25 02:49:17 UTC 2011


> Well, between Stephen's and Jinmei's comments, I edited the
> CodingGuidelines wiki page to include: "Data class members are
like_this_".
> 
> Do we need to discuss this? Or is this usage acceptable? Easy enough to
> redact the change :~)

It's really useful when trying to differ class members and local variables,
especially when reviewing my own or others code.

BTW, I always add the prefix 'm_' to the class members when I was a windows
programmer.  Seems now the trailing '_' is my only choice,  :)

Thanks

Likun





More information about the bind10-dev mailing list