Through my past couple blogs of Object Oriented Programming, REST APIs, and frameworks, I often came across the word “documentation” but commonly overthought it and didn’t do any more investigating into it. With that being said, I came across this blog 9 Software Documentation Best Practices + Real Examples and I feel a lot more comfortable with documentation as a whole. https://www.atlassian.com/blog/loom/software-documentation-best-practices
Imagine, you and your developing team are coding away on an application, but then an error appears, by which no one present knows how to solve it.
To solve this error, your options are:
- Slack threads
- Stack Overflow
- Emails back and fourth
- Documentation
The most promising answer of these options are documentation. With great documentation, you will get a clear precise solution to the problem you are facing.
Now, what exactly is documentation? Documentation is written information that clearly explains the program’s structure, functionality, and when/how to use it; should be used as a guide or as a reference pointer for developers. If the documentation is done right, it reduces friction, boosts productivity, and helps the user understand the code from all angles due to the information of processes, functionalities, and solutions.
With so many benefits, documentation should be at the forefront of software developing teams, but unfortunately, it often gets overlooked. One of the main reasons for this is because documentation can go outdated very quickly.
That being stated, here are nine ways to make sure your documentation will always be great:
- Know your target audience
- General Audience (surface level) vs Developers (technical)
- Keep it user-friendly
- Having a table of contents with clear headings can make it a lot more easier to find what the user is looking for
- Use version control
- By doing this, you will be able to see all the latest updates
- Incorporate visuals
- Some people are visual learners, who work better off of a video, photo and/or diagram (within reason)
- Adopt a documentation style guide
- Consistent styling will make it easier for the user when going through each documentation type from said releasers (writers/developers)
- Update regularly
- By doing this, your documentation will align with the latest software functionality
- Encourage collaborative documentation
- Working together in person or remotely
- Always good to have a peer’s input
- Provide troubleshooting and FAQs
- This enables users to find solutions for common issues very effectively
- Use documentation templates
- This will give a great start to all coming contributors of the documentation
Overall, I really enjoyed this article and its purpose of making software documentation better. Furthermore, it mentioned how Google and Microsoft all stick to the same consistent documentation perspectively, which opened my eyes of how important consistency is in documentation within a company. Along with this, before “jumping” into something new, it will definitely be worth it to go over the documentation. Understanding and referencing any documentation is a skill.
From the blog CS@Worcester – Programming with Santiago by Santiago Donadio and used with permission of the author. All other rights reserved by the author.
