r/programming • u/fagnerbrack • Sep 11 '26
How to Write an Effective Software Design Document
https://refactoringenglish.com/excerpts/write-an-effective-design-doc/
467
Upvotes
r/programming • u/fagnerbrack • Sep 11 '26
21
u/GrammerJoo Sep 11 '26
At my company some devs just open claude and write "create a design doc for x" and then send it to the team to review. In fact, some of our tech blog posts are generated like that.
17
u/RegisteredJustToSay Sep 11 '26
I like it, but I think framing these as 'components' of a design doc almost suggests they should be separate discrete sections rather than necessary information that flows in and out of each other and where some information is more important than others depending on context (rather than talking about 'subsets). If I open a design doc and it has 23 God damn sections I'm probably just gonna gloss it over because that's absurd. I do agree with the basic premise that every single one of these sections add value though, it just comes down to what info is more important in what context.
Just my two cents. I don't think you're wrong, just see it a bit differently.
41
u/ishysredditusername Sep 11 '26
> If you specify every possible detail in a design doc, you’ve essentially written the implementation during the design phase. That would defeat the whole purpose of a design doc.
Got me thinking if this is what the future of software engineering holds. You curate a design doc that covers everything: implementation details and business processes. Then give it to an LLM to generate. Esentially becomign documentation driven development i guess.
4
u/simonides_ Sep 11 '26
Arc42?
3
u/analcocoacream Sep 11 '26
How do you choose between design docs and ADR? Based on the multiplicity of options?
2
u/mikevarela Sep 11 '26
Just wanted to say thanks for a thoughtful and well storied article. Great read and appreciate the example doc.
2
u/Nice_Mix_1021 Sep 12 '26
nice read actually. I don't know is it true or not but due to agents nowdays very few people manually read docs they just feed the docs to agents and ask directly. so docs also need to be very friendly for agents
1
u/xipodu Sep 11 '26
Thanks! gonna take a look
1
u/thewellis Sep 11 '26
I love the font used. Iirc it's similar to the font used in The Prisoner TV show from the sixties.
0
u/[deleted] Sep 11 '26
[deleted] — view deleted comment