You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For better code maintainability, functions that take a large number of parameters could instead be refactored to take a single object input. This prevents issues with function parameter order causing invalid data being passed, and easier typing via interfaces.
The text was updated successfully, but these errors were encountered:
HenryNguyen5
changed the title
Convert large parameter functions to object paramters
Convert large parameter functions to object parameters
Oct 23, 2017
For better code maintainability, functions that take a large number of parameters could instead be refactored to take a single object input. This prevents issues with function parameter order causing invalid data being passed, and easier typing via interfaces.
The text was updated successfully, but these errors were encountered: