Issue #4
Your Code's Missing Manual: When 'Self-documenting Code' Isn't Enough
Welcome to this week's issue, where we're diving deep into the elephant in every dev room: documentation (or, as I like to call it, "that thing we'll definitely do right after we ship this feature").

Hey there, developrrrs! đ Welcome to this weekâs issue, where weâre diving deep into the elephant in every dev room: documentation (or, as I like to call it, âthat thing weâll definitely do right after we ship this featureâ).
Remember that time you inherited a codebase with zero documentation, and the only person who knew how it worked had left to become a yoga instructor in Bali? Whether youâre nodding in painful recognition or nervously eyeing your own undocumented projects, grab your coffee and your favorite markdown editor because weâre about to turn that â// TODO: Add documentationâ comment into actual, useful documentation.
𤿠Deep Dive
Look, I get it. Writing documentation feels about as exciting as filing your taxes. And I can already hear some of you saying, âBut my code is self-documenting!â (Narrator: It wasnât.) According to GitHubâs Open Source Survey, a whopping 93% of developers are out here struggling with incomplete or outdated docs. Thatâs like having a GPS that only works every other Tuesday â technically useful, but mostly just frustrating.
The Real Cost of âFigure It Out Yourselfâ
Remember that time you tried assembling IKEA furniture without a manual? Yeah, documentation is kind of like that, except the stakes are higher than a wobbly BILLY bookcase. Stripe reports that developers spend approximately 17 hours per week (thatâs 42% of their time, folks!) on maintenance tasks, including playing detective with unclear documentation. Thatâs like trying to decipher ancient hieroglyphics â except the hieroglyphics are just your colleagueâs âself-documentingâ code from 2021.
I once joined a project where the onboarding doc was a single README that just said, âAsk Jason.â Plot twist: Jason had left the company two years ago. Somewhere, a technical writer is crying into their style guide.
The Documentation Hierarchy You Actually Need
Letâs break down the different types of documentation your project needs â because, like a well-planned Netflix binge, thereâs actually a right order to this stuff. And no, a single README with âit works on my machineâ doesnât count as a complete documentation strategy.
đŻ The Welcome Wagon (Onboarding Docs)
Think of this as your codebaseâs âMTV Cribsâ episode. Hereâs whatâs in my garage:
-
Installation steps (because nobody likes a âyou need 6 permission tokensâ surprise party)
-
Architecture overview (the âwhoâs whoâ of your services, minus the celebrity drama)
-
Common pitfalls (so people donât fall into the same holes you did â weâre not running an obstacle course here)
Pro tip: I once turned a 3-week onboarding process into a 3-day sprint with a solid âNew Dev Survival Guide.â Youâre welcome, future me. And yes, it included where to find the good coffee machine.
đ API Docs: The Real MVP
This isnât just a list of endpoints â itâs your APIâs dating profile. Include:
-
What each endpoint does (and why itâs not just another pretty interface)
-
Auth requirements (because âUnauthorizedâ at 2 AM isnât fun, trust me on this one)
-
Examples, examples, and when you think you have enough⌠more examples. Think of it as meal prep for your code â the more you prepare now, the less painful later.
đ Runbooks: Your 3 AM Best Friend
Because when production is on fire, you donât want to be playing âguess the solution.â Include:
-
Step-by-step guides (like a cookbook, but for server disasters)
-
Who to call (ghost-busters not included, but that on-call rotation schedule definitely is)
-
Where to find those crucial logs (because theyâre never where you think they are, kind of like your keys)
đ¨ Code Comments: The Art of Just Enough
Like salt in your coffee, nobody wants too much. Comment on:
-
Complex logic (when your code looks like a Christopher Nolan plot â we want Inception, not Tenet)
-
Business rules (especially the âwhy are we checking for VIP status only on Wednesdaysâ kind of mysteries)
â The âMake It Not Suckâ Checklist
-
Keep it fresh: Stale docs are like expired milk â nobody wants that surprise in their cereal
-
Use visuals: Because sometimes a diagram > 1000 words
-
Make it searchable: If they canât find it, it doesnât exist (like that gym membership you got in January)
-
Open the gates: Documentation shouldnât be your companyâs Area 51
-
Focus on pain points: If youâre getting the same question thrice, document it once.
đŤ The Bottom Line
Hereâs the deal: good documentation is like your projectâs blueprint â it maps out the structure and the critical decisions and trade-offs that shaped your softwareâs architecture. It guides both current and future developers through the complexity, making sure key design choices and system behaviors donât get lost in translation. And the stats donât lie: teams with solid documentation report up to 40% fewer bugs and support tickets. No matter how clean your code is, some things just canât explain themselves.
đ Coming Next WeekâŚ
This documentation tea is too hot for just one newsletter. Next week, weâre diving deeper into the documentation drama with:
-
The real reason your team keeps saying, âWeâll document it laterâ (itâs not just procrastination, though thatâs definitely part of it â looking at you, âself-documenting codeâ evangelists)
-
Why zombie docs are worse than no docs â you know, those undead pieces of documentation that keep shambling around your wiki, leading innocent developers astray like sirens of the code sea
-
How to make documentation part of your pipeline without feeling like youâre writing a novel every time you push code
-
Breaking down knowledge silos (because weâve all had enough âAsk Jasonâ moments to last a lifetime)
Trust me, itâs going to be more exciting than finding a perfectly documented legacy codebase. And we all know how rare those are. đ
Have a doc to write? Remember: Clear beats clever, but you can absolutely have both. Now go forth and document! đ
Brought to you by coffee â and the persistent ghost of documentation past
đ Stat
60% of organizations are still releasing code on a monthly or quarterly basis

While tech giants are pushing code faster than I can order DoorDash, a whopping 60% of organizations are still stuck in the monthly-or-quarterly release cycle club. According to the latest State of The Developer Experience report, these organizations are missing out on the competitive advantage of rapid iteration. In 2024, thatâs practically like running your deployment pipeline via carrier pigeon. đŚ
đ Essential Reads
đ JetBrains 2024.3 Release Elevates Developer Experience. JetBrainsâ 2024.3 release introduces a host of new features, including advanced AI tools, improved code analysis, and enhanced UI/UX across its IDEs. These updates aim to reduce friction in development workflows, helping developers write better code faster. With a strong focus on productivity and usability, JetBrains solidifies its role as a leader in developer tools.
đşď¸ Developer Experience Is New Territory For Most. Forresterâs study reveals that many organizations are struggling to define and prioritize Developer Experience as a strategic focus. Key challenges include outdated processes, insufficient tooling, and a lack of alignment between leadership and engineering teams. The report offers actionable recommendations, urging businesses to adopt a more holistic approach to DevEx improvement.
đĄ The Case for âDeveloper Experienceâ. Postman emphasizes the growing importance of Developer Experience in fostering innovation and driving business success. The article argues that prioritizing tools, processes, and workflows that improve developer satisfaction can lead to measurable productivity gains. It highlights the need for companies to view DevEx as an investment, not just an operational concern.
đ ď¸ Tools
-
DevSpace is a Kubernetes development tool that automates workflows and simplifies deploying and debugging applications in clusters.
-
Bytebase is a database CI/CD tool for managing schema changes and improving collaboration in database workflows.
-
Taskfile.dev is a simple task runner and build automation tool written in Go, offering a straightforward way to define and execute developer workflows.
Get the next issue on Thursday
5-minute weekly reads showing how top engineering teams solve their biggest DevEx challenges and reduce burnout.
Subscribe for freeDelivered every Thursday. Trusted by 3,000+ engineers at companies like Stripe, Google, and Netflix.

