Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple responsibility class #10

Open
juarseve opened this issue Dec 27, 2023 · 0 comments
Open

Multiple responsibility class #10

juarseve opened this issue Dec 27, 2023 · 0 comments

Comments

@juarseve
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant