AuMatar said: "Why yes, yes they do. Thats pretty much the definition of a function- they do one logical operation. It doesn't matter if someone else decides to use it as well- its still doing the same thing for them it was for the original user."
I'm not weighing in on either side here, but if a function is small enough that they do one logical operation, then wouldn't it just be easier to read the code to figure out what's going on than read some developer's comments?
How is this different than setting up automatic unit tests?
AuMatar said: "Why yes, yes they do. Thats pretty much the definition of a function- they do one logical operation. It doesn't matter if someone else decides to use it as well- its still doing the same thing for them it was for the original user."
I'm not weighing in on either side here, but if a function is small enough that they do one logical operation, then wouldn't it just be easier to read the code to figure out what's going on than read some developer's comments?