Billing-System icon indicating copy to clipboard operation
Billing-System copied to clipboard

Multiple responsibility class

Open juarseve opened this issue 1 year ago • 0 comments

The generateInvoice class does more than one thing. In order to improve code maintanability and extensibility, it is recommended to use Extract Class refactoring technique, since this class launchs the applications as well as creates the frame for the invoice. It is recommended to have multiple classes, each focusing on one single responsibility.

juarseve avatar Dec 27 '23 01:12 juarseve