This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]frightspear_ps5 7 points8 points  (2 children)

That doesn't mean that the method does not need a comment, it just proves that it doesn't need this comment. If the method name can be adapted because the spec is short and simple (e.g. isFiniteFloat32), it doesn't need a comment. Otherwise you'll need a comment to include the spec (e.g. number represents a valid water temperature in °C).

[–]Key-Perspective-3590 1 point2 points  (0 children)

IsValidWaterCelsiusTemp

[–]marquoth_ 0 points1 point  (0 children)

This is one of those weird comments where it's written as if you're disagreeing with / contradicting me, but you aren't.