formelyL Parameterize Method
- You have two functions that carry out very similar logic with different literal values. Remove the duplication by using a single function with parameters forthe different values.
- The name is clear readable, understandable and easy to maintain.
Before
