Good documentation is one of the highest-leverage investments an engineering team can make. A well-documented system saves hours of context-switching, reduces onboarding time, and prevents recurring questions. Yet most engineers avoid writing documentation because it feels like overhead rather than a core part of development.

Types of technical documentation

The Diátaxis framework identifies four types: tutorials (learning-oriented), how-to guides (task-oriented), reference docs (information-oriented), and explanations (understanding-oriented). Each serves a different purpose and audience. Most projects are over-indexed on reference docs and under-indexed on tutorials and explanations.

Tips for writing great documentation

Write documentation for your future self who has forgotten everything about this code. Include code examples that actually work. Keep docs close to the code they describe (in-repo is better than a separate wiki). Review and update documentation regularly — outdated docs are worse than no docs.

JL

Jordan Lee

Developer Advocate

Jordan is a developer advocate at DevPass. He writes about open source, developer experience, and career growth.

Stay Updated

Get notified about new posts

Join our newsletter for the latest insights on developer hiring, career growth, and building in public.

No spam. Unsubscribe anytime.