Better HN
topnewbestaskshowjobs
Log inSign up

c0ffeeadd1c7

0 karma · joined Aug 23, 2010 (16y ago) · 1 submissions

Submissions

comment 16y ago · link · parent

next to a README there should be at least one line of documentation for every function longer then three lines of code.

I like documentation-driven design - when I'm to write a long and complex routine I always write in pseudo-code-comments what I am to do.

This pseudo code usually ends up as the documentation of the routine (little grammar/language update might be needed)