Closed kentsommer closed 10 years ago
Too many parameters has never been an issue if you have good default values they make no difference. It's best to expose them to the user, if not doing that it's best to pull them into variables and put them at the top of the file or section with a clear name for the developers to view. It's not that it has to happen, but it's better for maintainability. https://stackoverflow.com/questions/47882/what-is-a-magic-number-and-why-is-it-bad
Yeah, I generally keep that in mind for everything I do Tully (and often have to explain the same philosophy to my cleaning robot colleagues!). Parameterising this particular one is getting borderline tedious though :)
Going to merge this one - if its imperative I can come back and do something extra for it later.