As far as I can see, this is backed exclusively with "but the ones that do probably...".
Let's just say I 'm not convinced yet.
As far as I can see, this is backed exclusively with "but the ones that do probably...".
Let's just say I 'm not convinced yet.
And, in my experience at least, very few times the comments are out-of-date with the code. If that's the case, once is detected, it should be treated as a bug. Fix/remove the comment.
If 10% of the functions are commented, I will assume that those 10% are more important or have more error prone or dangerous usages. If every function has a boilerplate comment, I lose that information.
I also think that if people are in the habit of having to comment it makes them more likely to document things like expected values of the input, what the return could be expected to be, and if there are any caveats.