360 likes | 611 Views
WARNING. These slides are not optimized for printing or exam preparation. These are for lecture delivery only. These slides are made for PowerPoint 2010. They may not show up well on other PowerPoint versions . You can download PowerPoint 2010 viewer from here .
E N D
WARNING • These slides are not optimized for printing or exam preparation. These are for lecture delivery only. • These slides are made for PowerPoint 2010. They may not show up well on other PowerPoint versions. You can download PowerPoint 2010 viewer from here. • These slides contain a lot of animations. For optimal results, watch in slideshow mode.
The M in RTFM : When Code is not Enough CS2103/T, Lecture 7, Part 2, [Oct 3, 2014]
The M in RTFM : When Code is not Enough Developer-to-developer docs
Developer-to-developer docs • fordeveloper as user fordeveloper as maintainer
Developer-to-developer docs • fordeveloper as user fordeveloper as maintainer
Developer-to-developer docs • fordeveloper as user fordeveloper as maintainer
Do Don’t Do Don’t Do Don’t Do Don’t Do
Just enough docs As much docs as possible
Top-down Bottom up
300,000+LoC (Lines of Code) 700+ source files 1 week to start coding
Docs from code White elephants
Docs from code White elephants
Comprehensible Comprehensive Use cases Class diagrams Sequence diagrams
Remember the purpose So, how many class diagrams to include?
Just enough docs As much docs as possible Top-down Bottom up Docs from code White elephants Comprehensible Comprehensive Remember the purpose
What does STFW (a cousin of RTFM) stands for? GIYF LMGTFY stands {answer} e.g. stands see the fine wife 77577OR tinyurl.com/answerpost