Is it really necessary or a good practice in general to add getters and setters on all the private variables of a class?
I am not asking about the read-only variables. What I am really asking is the general case, where most of the time we just add getters and setters in case they'll be needed and don't really know whether they will be used or not.