3 ms·
That's a good rule of thumb. Personally, I also add comments for the HOWs that may be relevant to users of a function/class, that cannot be easily expressed in
by TeMPOraL 6y ago
That's a good rule of thumb. Personally, I also add comments for the HOWs that may be relevant to users of a function/class, that cannot be easily expressed in code in the function signature or class declaration.
Things like, "relative ordering of results is not preserved", or "this function is O(n^3)".