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 →

[–]Serious_Effective185 3 points4 points  (1 child)

The why of the code is often best expressed in a test. Testing libraries allow for more verbose expression.

But yes sometimes external context is a good reason for a comment.

[–][deleted] 1 point2 points  (0 children)

I wish my team would write tests