Link to home
Start Free TrialLog in
Avatar of gromul
gromul

asked on

OM perspective: Integrated main function or in a separate Driver class?

What is better from an OM perspective: having a separate Driver class with just a Main function which will instantiate the Worker class (say Archiver), or integrating this Main function into the Worker class (say Archive())? As for the second option, if the Archive main function is static, how does it instantiate the class it's part of?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Ravi Singh
Ravi Singh
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial