3 ms·
The problem is that we like to take the path of least resistance. So we add a parameter to the function instead of splitting it into two different functions. Sa
by z3t4 10y ago
The problem is that we like to take the path of least resistance. So we add a parameter to the function instead of splitting it into two different functions. Saving one hour now, that is much better spent on something else. But might waste thousands of man-hours in the future. From a business side though, you might not afford to the extra man-hour right now, but maybe if the product is successful you will afford the extra thousand man-hours in the future.