3 ms·
Nope, I am not going to bother. Your function has a terrible name, and the names of the arguments are not available to me. Had you given it a good name, and l
by humbledrone 15y ago
Nope, I am not going to bother. Your function has a terrible name, and the names of the arguments are not available to me. Had you given it a good name, and listed its arguments, I bet that the test would be quite a nice example of how to use it.
- bxr 15y agoBut my documentation runs during the hourly and never raises any red flags! That means its right, therefore better than a comment. edit: You did kind of prove my point by asking for documentation outside of the test. If this "documentation" test isn't enough to find out whats really going on in my 1-line function, what makes you think a test and the best-chosen names in the world would give you any insight to a 2-line function?
- humbledrone 15y ago> But my documentation runs during the hourly and never raises any red flags! That means its right, therefore better than a comment. Your words, not mine.
- deleted 15y ago[deleted]
- deleted 15y ago[deleted]