S
Write the unit tests first. Then the comments. Then code.
I never write the tests first. I write a test. I might start with a comment, but likely not. Then I write code to pass the test. Then I refactor (sometimes not, but often A LOT) Sometimes the new code inspires a new test which I may scribble as a comment. then I go to the next test.
S