I am currently reading Clean Code: A Handbook of Agile Software Craftsmanship by Robert C. Martin and I’ve noticed a pattern.
In Listing 2-1, Martin recommends refactoring this code:
|
|
into this:
Read more...I am currently reading Clean Code: A Handbook of Agile Software Craftsmanship by Robert C. Martin and I’ve noticed a pattern.
In Listing 2-1, Martin recommends refactoring this code:
|
|
into this:
Read more...