2 Results tagged on "refactoring":  

How many parameters should a function have?

Someone gets a request, and finds the function that could complete it - just need to pass one more parameter. This happens a few more times. Eventually you have something no one wants to touch. They just throw more code at it and RUN, hoping to get out before they get too messy. 💩What do you do?...
Read more