News for hackers. Stuff that matters.
Re:How should i document my code? by ramtatatam on Sunday January 29, 2017 @06:40PM (#13517546)
I aim to exercise Contract Driven Development. Write contract first, in python this would be in a doc-string of your stub. Then depending on your methodology either write your tests first followed by implementation (or vice-versa, depending on your preference). Then in the code document things that required you to run research (or more thinking power than usual).

There are no comments on this comment yet.