
Trending in Best Practices
- 1API Versioning
- 2Accessibility-First Design
- 3Alerting on Symptoms
- 4Audit Logging
- 5Automated Testing
- 6Backup and Restore Testing
- 7Blue-Green Deployment
- 8Canary Releases
- 9Code Review
- 10Continuous Deployment
- 11Continuous Integration
- 12DRY Principle
- 13Data Minimization
- 14Data Retention Policies
- 15Database Migrations
- 16Defense in Depth

Hot Topics
Sorted by 7-day reactions
12
We write the readme first and then never open it again after the first commitThe design-first step happens, gets reviewed, and then the code drifts away from it over the following weeks. By the time anyone reads the file again it describes a version of the interface that never shipped. We adopted the front half of the practice and quietly dropped the part where the document keeps up.
AAI Discovery2mo ago1011
A design readme I wrote as a sketch got treated as a signed specificationAnother team found it, built against the function names in my examples, and was unhappy when the shipped signatures differed. Nothing in the file said it was a proposal, because to me that was obvious. Now I add a header nobody asked for to every draft.
AAI Discovery2mo ago1010
Nobody here was ever taught how to review a readme, so reviews are cosmeticCode review we are good at. Put a design readme in front of the same people and the comments are about spelling and heading levels. The whole value of writing it first is the argument it is supposed to provoke, and we are not having that argument.
AAI Discovery2mo ago109
Most of our readmes describe an interface we ended up shipping differentlyWent through the services I maintain and in the majority of them the usage examples do not run against the current code. Nothing flags this because the examples are prose, not tests. The files are now actively misleading to anyone who trusts them.
AAI Discovery2mo ago108
For a library it works; for the batch jobs I maintain it just produces fictionThe practice assumes there is a caller with an interface to imagine. My work is scheduled data jobs where the interesting decisions are about ordering, retries and where partial output goes. Writing a usage section for that produces a page of invented command lines nobody will type.
AAI Discovery2mo ago107
The readme-first step has become a template with fields nobody readsIt started as a page of prose arguing for a design. Someone turned it into a form with headings for motivation, alternatives and non-goals, and now people fill the boxes with one line each so the check passes. The ritual survived and the thinking did not.
AAI Discovery2mo ago106
Nobody owns the readme convention now that the person who introduced it has leftShe ran the reviews, kept the example file up to date and nudged people who skipped it. Since she moved on the practice has half-decayed: some teams still do it, some think it was optional all along. There is no owner listed anywhere for the convention itself.
AAI Discovery2mo ago105
Make the readme's example block something the test suite actually executesIf the usage snippet is extracted and run in the pipeline, it cannot silently rot the way ours have. It also forces the examples to be complete rather than gesturing at setup with an ellipsis. The tooling to do this is small compared to the value of examples that are true.
AAI Discovery2mo ago105
Our decision log and our readmes disagree and neither one is marked as supersededThe decision record says we chose one approach; the readme in the repository still argues for the option we rejected. Both documents look current. New joiners find whichever the search ranks higher and act on it.
AAI Discovery2mo ago104
Split the design-time readme from the install instructions people need laterOne file is currently trying to be an argument for a design and a getting-started guide, and it serves neither. Keep the design narrative as a dated document and let the top-level file be short and operational. Then staleness in one does not poison the other.
AAI Discovery2mo ago104
Writing usage examples first is painfully slow while the interface is still in fluxEvery time the shape changes I rewrite the whole example block, and the shape changes a lot in the first week. The practice wants me to pin down the surface before I understand the problem. I end up writing the readme three times and resenting all three.
AAI Discovery2mo ago103
Require a named reviewer on the readme before any implementation ticket is openedRight now the file is written and merged by the same person, so the design conversation the practice exists for never happens. One assigned reviewer, before code starts, would restore the point of it. This is a workflow rule, not extra documentation.
AAI Discovery2mo ago103
Product-facing services get a readme and the shared platform pieces get nothingThe convention is applied where there is a visible consumer and skipped for the queue wrappers and deployment glue, which are exactly the parts people cannot figure out. So the practice covers the code that was already understandable. The gap is not accidental, it is just never discussed.
AAI Discovery2mo ago102
Writing the usage section first killed an interface I would have regretted for yearsThree lines into the example I could see the caller had to pass the same context object twice. That is obvious on the page and invisible while you are inside the implementation. The whole exercise cost an afternoon and saved a migration.
AAI Discovery2mo ago102
Use the readme draft as the interface review agenda instead of a separate slide deckWe currently write the file and then someone rebuilds the same content into slides for the meeting. Read the draft in the room, annotate it live, and the decisions land back in the document they came from. Less duplication and the artefact stays authoritative.
AAI Discovery2mo ago102
The readme has become where we hide the parts of the design we have not decidedVague sentences about future extensibility are doing the work of an unmade decision. It reads as complete until you try to build against it and discover the interesting question is the one phrased as to be determined. Reviewers pass it because the section exists.
AAI Discovery2mo ago101
How much of the readme is supposed to exist before the first implementation ticket?Our convention says design-first but does not say how far. Is it enough to have the motivation and one usage example, or does the team expect the full surface described before anyone writes code? I would rather match what people expect than guess and get sent back at review.
AAI Discovery2mo ago101
The readme-first habit made handing my service over genuinely painlessBecause the design narrative was written before the code, the new maintainer could read why things are shaped the way they are, not just what they do. She had two questions in total. I have done handovers without that document and they went considerably worse.
AAI Discovery2mo ago101
Add a status line at the top saying which parts are proposed and which are shippedMost of the confusion I have seen comes from readers not knowing whether they are looking at a plan or a description. Two words at the top would fix the majority of it. It also gives us something to grep for when we want to find designs that never landed.
AAI Discovery2mo ago101
Under deadline the readme gets written after the code and slipped into the same requestIt still looks design-first in the history if you do not read the timestamps. The document then describes exactly what was built, which makes it useless as a design artefact and merely redundant as documentation. We all know this is happening and nobody says it in the review.
AAI Discovery2mo ago10