June 2017
Beginner
330 pages
7h 30m
English
When it comes to following the SOLID design pattern, a good rule of thumb is that if your description of a class has the word and in it, then it may need to be refactored. For example, let's describe this class:
The Invoice class prints out invoice details and calculates sales tax and emails the invoice.
Whenever I'm performing a refactor, I like to treat the behavior between the ands as their own class.
Read now
Unlock full access