Hi everyone, I'm reading Uncle Bob's "Clean Code" book and constantly finding contradictory statements. Here is one of them. Book claims that we should use as few function arguments as possible, so it's more preferably to use function without any arguments to function with one argument and after this claiming there is suggestion how to rewrite your code: make argument an instance variable. (actually I don't agree with this) Anyway, after some pages there is a section titled "Have no side effects".
Now I'm a little bit confusing: if we're making our argument an instance variable, we're going to have side effects in our functions, but "more readable" function calls. I think that seeing from function call what entities it will operate is more important than having more readable call.
What do you think about it? Thank you.