You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
456 B
456 B
Reocurring Parameter lists
- Force: Refactoring may be considered if a certian list of parameters keeps reappearing in many methods.
For example:
function(int a, int b, string c)
function2(int a, int b, string c)
function3(int a, int b, string c)
- Solution: It may be possible to group these parameters into an object and instead pass the object around to different functions rather than passing each parameter.