P
PromisedOyster
Many in our development team have came from a C++ background and are in
the practice of prefixing private class variables with an underscore to
improve readability and avoid naming collisions with local variables
and parameters. This has become our standard.
ie private string _name;
as opposed to:
ie private string name;
However, one of the newer guys has informed us that this is bad
practice.
Is this good, bad or no big deal?
the practice of prefixing private class variables with an underscore to
improve readability and avoid naming collisions with local variables
and parameters. This has become our standard.
ie private string _name;
as opposed to:
ie private string name;
However, one of the newer guys has informed us that this is bad
practice.
Is this good, bad or no big deal?