SOLID I - Finding and fixing SRP violations #5
kanmaytacker
announced in
Announcements
Replies: 1 comment
-
There is problem with printInvoice method. It is printing four different types of stuff namely book details, discount rate, tax rate and total.
Complete Code
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What?
Find SRP violations in this package and refactor it to adhere to SRP.
Why?
Better understanding of SRP.
SRP helps with maintainability and extensibility of an application.
How?
Beta Was this translation helpful? Give feedback.
All reactions