Open spaulaus opened 3 years ago
If you've got a trivial getter and setter you're no better off than just having a public member. You could make some argument about being able to handle changes to the variable's type, but how often does that actually happen in the code?
Description
If you've got a trivial getter and setter you're no better off than just having a public member. You could make some argument about being able to handle changes to the variable's type, but how often does that actually happen in the code?