Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming guidlines
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00741499
Message ID:
00741722
Views:
25
>A common way of naming Fields that have a cooresponding Property is to prefix the field name with an underscore {"_"}. For the Property name of "MyName" the field equivalent would be "_MyName".
>

Yeah, I've seen that a lot in C++ code. I hate it <g>. At this point, I'm not even sure I have a rational reason too, except that it seemed to make learning C++ a lot more difficult/cryptic; I kept asking myself: is that a naming convention? Some sort of operator? What's the difference between _Something and __Something (or, heaven forbid, ___Something)? Especially since that's the line continuation identifier in VB, isn't it?
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform