14
CODE DOCUMENTATION

code documentation

Embed Size (px)

Citation preview

Page 1: code documentation

CODE DOCUMENTATION

Page 2: code documentation

DEFINITION OF TERMS

What is Code ?

Page 3: code documentation

DEFINITION OF TERMS

What is Code ?

What is Documentation ?

Page 4: code documentation

DEFINITION OF TERMS

What is Code ?

What is Documentation ?

What is Code documentation ?  

Page 5: code documentation

REASONS FOR CODE DOCUMENTATION

You will be using your code months later You want people to use your code You want people to help out It makes your code better You want to be a better writer

Page 6: code documentation

HOW TO DOCUMENT CODE

Types of Documentation

Requirement documentation Commenting Mark-down/README.md End-User Documentation

Page 7: code documentation

Requirement documentation ?

Page 8: code documentation

Commenting ?

Page 9: code documentation

Commenting ?

Types Of Commenting Inline Commenting Descriptive Blocks

Page 10: code documentation

What is Mark-down ?

Basic writing for mark-down

Paragraphs Headings Block Styling textLists Code formatting

Page 11: code documentation

README.md file ?

What to write What problem your project solves A small code example A link to your code & issue tracker Frequently Asked Questions (FAQ) Information for people who want to contribute back Installation instructions Your project’s license

Page 12: code documentation

End-User Documentation ?

Page 13: code documentation

CONCLUSIONCode documentation is required for any project embarked on, for the benefit of the programmer and every other person involved.

A programmer that properly documents code will find the debugging process easier, even thou the problem isn’t fixed by them, it could be fixed by another programmer because the code could be easily understood because it was properly documented.

Page 14: code documentation

THANK YOU