txt / se20

fall2020 cs310 se csc ncsu
Other
11 stars 29 forks source link

lecture: documentation #21

Open timm opened 3 years ago

timm commented 3 years ago

Long doc is not good

kinds of doc:

examples good:

doc generation tools docopt. pdoc3

don't get too excited about the tools. they are meerely the vans you draw on. once that is going its still up to you to write doc that makes sense to people.

doc is an explanation. good explanations reuse patterns known to the reader. different people have need different explanations. SE people have their patterns:

lists of patterns:

btw, patterns harder in OO that in functional Programmers. evidence: 23 GOF patterns, rarely changed. functional programming: 10 patterns before breakfast

great example of good docs. spatial trees

finally, a note on doc and artifacts. so many artifacts. so few replicated. why? cause no on knows they exist! doc rules!

timm commented 3 years ago

TL;DR

Doco is effort. Hard effort

through forward: product line

timm commented 3 years ago

som geratte doc genration tools