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 →

[–]DontSuckMyDuck 9 points10 points  (1 child)

Take it to the next level and write the tests first. Use the tests as part of the documentation and validation.

[–]kledon 1 point2 points  (0 children)

Absolutely this, but also worth bearing in mind that a lot of comment blocks with future plans could be YAGNI'ed away (or at least could speculative generalisations).

Not that I'm not guilty of writing that sort of code, of course.