Skip to content

Files

Latest commit

 

History

History
13 lines (7 loc) · 403 Bytes

MethodOverloading.md

File metadata and controls

13 lines (7 loc) · 403 Bytes

Pattern: Method overloaded too many times

Issue: -

Description

Method overloading tightly couples these methods together which might make the code harder to understand.

Refactor these methods and try to use optional parameters instead to prevent some of the overloading.

Further Reading