G
Guest
I am having trouble finding uderstanding why using a public variable instead
of a property with get and set is bad programming practice. In fact, there
are a lot of properties that don't do anything that requres a get or set and
it's much easier to accumulate these just below the class statement as public
variables as you dont' have to scroll down thru a lot of screens to read the
code.
Each to his own I guess. What's good programming practice to one is not to
another.
of a property with get and set is bad programming practice. In fact, there
are a lot of properties that don't do anything that requres a get or set and
it's much easier to accumulate these just below the class statement as public
variables as you dont' have to scroll down thru a lot of screens to read the
code.
Each to his own I guess. What's good programming practice to one is not to
another.