It's a good programming practice to write setters and getters and keep any class-related properties private for any OOP-related project. Unfortunately, this is not case in this project, and there are hundreds of cases where members of a class are accessed outside from that class.
Performing this hard task will however give reward in the form of much more cleaner code.
It's a good programming practice to write setters and getters and keep any class-related properties private for any OOP-related project. Unfortunately, this is not case in this project, and there are hundreds of cases where members of a class are accessed outside from that class.
Performing this hard task will however give reward in the form of much more cleaner code.