Top Banner
LIVING DOCUMENTATION Mini-workshop
15

Living documentation mini-workshop

Jan 18, 2017

Download

Software

matthiasnoback
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Living documentation mini-workshop

LIVING DOCUMENTATIONMini-workshop

Page 2: Living documentation mini-workshop

https://leanpub.com/livingdocumentation

Cyrille Marraine

Page 3: Living documentation mini-workshop

“When comes the time to do documentation, members of the team select some elements of knowledge of what has been done and perform a Manual Transcription.

Page 4: Living documentation mini-workshop

“The documentation quickly becomes obsolete, and you end up with an incomplete documentation that you cannot trust.

Page 5: Living documentation mini-workshop

FROM THE “MANIFESTO FOR AGILE SOFTWARE DEVELOPMENT ”

We are uncovering better ways of developing software by doing it and helping others do it. Through this work we have come to value:

➤ Working software over comprehensive documentation

http://agilemanifesto.org/

Page 6: Living documentation mini-workshop

“Each instruction typed in a programming language is a decision.

Page 7: Living documentation mini-workshop

PRINCIPLES

➤ Knowledge that is of interest for a long period of time deserves to be documented.

➤ Knowledge that is of interest to a large number of people deserves to be documented.

➤ Knowledge that is valuable or critical may also need to be documented.

Page 8: Living documentation mini-workshop

“The best place to store documentation is on the documented thing itself.

Page 9: Living documentation mini-workshop

“In a software project most of the knowledge is present in some form somewhere in the artefacts.

Page 10: Living documentation mini-workshop

EXAMPLES

➤ Self-documenting code and Clean Code practices, including:

➤ Class and method naming

➤ Types

➤ Annotations that add knowledge to elements of the programming language

➤ Javadoc comments on public interfaces, classes and main methods

➤ Folder organization, modules and submodules decomposition and naming

Page 11: Living documentation mini-workshop

“The key concern to keep in mind is the cost of evolution and maintenance of the documentation.

Page 12: Living documentation mini-workshop
Page 13: Living documentation mini-workshop

PRINCIPLES OF LIVING DOCUMENTATION

➤ Reliable

➤ Low-Effort

➤ Collaborative

➤ Insightful

Page 14: Living documentation mini-workshop

“If it’s not fun, you’ll not want to do it so often and the practice will progressively disappear.

Page 15: Living documentation mini-workshop

LET THE WORKSHOP BEGIN!

➤ Explore living documentation practices, for example in:

➤ “Part 2: Living documentation” of the book, or

➤ README.md of the sandbox project

➤ Try to implement/automate something as a Proof-of-Concept

➤ Do the most simple thing to make it work

➤ Homework: make it nice & reusable :)