Quote:
|
quote:Why sometimes C# or C++ programmers call variables like do similar things like:
|
Quote:
pointertonowhere
Pointertonowhere
pointertonoWhere
|
I see one good reason for this: backing variables. To me, this looks fine:
Code:
private string firstName;
public string FirstName
{
get { return firstName; }
set { firstName = value; }
}
In
VB you have to resort to unnatural underscores or other prefixes. However, I agree that in almost all other cases, having variables with such similar names is asking for troubles.
Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of
ASP.NET 2.0 Instant Results and
Beginning Dreamweaver MX / MX 2004
While typing this post, I was listening to:
De Talen Van Mijn Tong by
Spinvis (Track 10 from the album:
Spinvis)
What's This?