The driver class(main method) is sort of like the starting point of any application. Since we have tons and tons of design patterns pertaining to object oriented design principles. I was thinking if there was any pattern or best practice which is followed while implementing the driver function.
A usual program being a simulation of any system. For example a banking system where the entities are a clerk a manager and so on. Each having their own packages with their own classes segregated according to the single responsibility principle.
Aucun commentaire:
Enregistrer un commentaire