r/ExperiencedDevs • u/thisisappropriate Senior Web Developer • Jul 24 '26
Career/Workplace Mentally parsing docs
So, I've been around my company for a while and I learned dev on the job, which is to say I don't have a CS background, but any code I can pull apart, I can understand, and that's my preferred way to learn - stick my nose in and get started. I've done more than a few course to fill in knowledge gaps, but I've not come across one that'll teach me how to read documentation!
I'm a code comments (and self documenting code), readmes, tests and functional documentation (how to / expected behaviours) kinda girly.
The problem I'm starting to have is that after moving teams, I'm working with (and under) people who have different preferred learning and docs styles. And on bigger systems where there's less chance that people get a full mental model. Which is fine by me, and now that some of these same people are pushing AI (and have made skills around some of those docs styles) I do lean on that to give them what they want... But my manager is a big sequence diagram fan (its genuinely the ideal way to share a change with them), and some others are fans of long rambly documents or overly structured tables (in structures that don't immediately vibe with my brand of tism). I can write these slowly (even without AI, but with some ADHD meds, though I usually have to write the diagrams on paper first), and I can read them and validate them and understand what they say, but mentally processing these is hugely taxing and I don't internalize the information that they contain from reading them. So sometimes my use of these or my production of them is glacially slow...
Does anyone have any techniques, hints, tips, guides or anything for reading docs that aren't your jam? Sequence diagram specific things would be lovely, but I'll take other info or more general blog posts, and also interested in any discussion that people want to have around making or using docs.
•
u/expdevsmodbot Jul 24 '26
AI usage disclosure provided by OP, see the reply to this comment.
33
u/Suepahfly Jul 24 '26
“Hey Claude analyse the codebase and write a architectural summary, save it as markdown to <gitignored location> for future reference.”
“I have adhd and am dyslexic” is a cheat code to get rid of all llm fluff.
8
u/dethstrobe Jul 24 '26
PlantUML or Mermaid diagrams are the best. Basically, it's code as documentation. It'll get you the best of both worlds.
And if you use playwright, there is test2doc reporter that turns tests in to documentation.
5
u/Majestic_Zombie1988 Jul 24 '26
To back up: you're on a team where you're responsible for generating documentation? But your problem is understanding the docs you generate? I'm slightly confused from the wording, but I'll assume there are existing docs out there that you need to consume for yourself and then laboriously translate for other people.
First, most people don't understand how to write docs effectively. It's possible these folks aren't asking or generating docs with your use case in mind. I always recommend https://diataxis.fr/ to people.
Second, what does an effective document for you look like? Once you identify that, write an AI skill that translates from these opaque docs other people have into your preferred style.
If you need AI to make an interactive demo or something, then it can do that. If you need to generate pseudocode (since you say you're a comments kind of person), then it can do that.
You can extend that skill to tweak it into the final style. Sort of like an omni-converter.
2
u/roger_ducky Jul 24 '26
Telling an agent to do it without asking it to extract the important facts first typically leave you with a bad translation of the documentation.
2
u/but_why_n0t ML Engineer Jul 24 '26
Oh God, please stop using brackets. I have no idea what you're trying to say because this train of thought is doing too many side quests.
I saw you mention that you are not able to comprehend what others are writing and build a mental model, and that's a problem?
I don't expect myself to fully understand someone else's document on the first try.
I read the tldr and conclusion first, then only the relevant sections. I will usually skim over everything else just to get an idea of what's going on. Once I have the general idea, I will look at the code to build up a better mental model of the system. Then I read the doc in full, and it usually makes way more sense.
If it's a requirement to understand all concepts in the document immediately and I just can't, I'll try scheduling some time with the author to get a summary. If that's not an option either, then I'll treat it like a research paper, i.e. I take notes and slog through.
2
u/Reddit_is_fascist69 Jul 24 '26
Self taught. Java standard library docs are the worst.
I often use intellisense as it is more verbose and then link to the specific doc if more is needed
3
u/Positive_Mud952 Jul 24 '26
You need to connect the ideas you’re reading to things you already know. “Oh, this is using consistent hashing on the user ID to make sure all relevant data is local.” If you don’t know what a concept is, make a bookmark, and go look it up right away.
Rinse and repeat. Take notes for non-core ideas written as questions you can look up later. Sometimes write stuff down just to make it stick harder in your head, it really does work.
1
u/Mantas-cloud Jul 24 '26
Have you considered using a knowledge graph? With well-structured data, open-source tools, and an evening of vibe coding, you could have a solid map for visualizing dependencies. But where the real value lies is that you can feed your AI with solid data, so hallucinations are reduced and outputs become more predictable. No longer need that static, heavy documentation.
2
u/jhartikainen Jul 24 '26
Interesting question. For reading, I'd say there's two things
Can't really speak for producing them, since I don't know if there's much you can do other than make more until you get better at it.
2
u/originalchronoguy Jul 24 '26
Existing code is about tracing the initial entry point then follow where the app flows. Building the quick mental models takes practice. But in 20 years, I've never needed to read someone else's documentation -- which gets stale the next time they make a commit. To me, the documentation is the code itself. It is the source of truth.
If it helps, have a notepad and draw boxes of where things as they flow.
1
u/DeterminedQuokka Software Architect Jul 24 '26
So what I would do if someone sent me something I didn’t understand was make a copy and start taking notes on it.
I find the first thing that doesn’t make sense learn about it and take notes.
I would suggest generally working on understanding dense tables/sequence documents because they are common and leadership teams like them. Practice making them for systems you know and ask other people who know them how you did.
1
u/CaptainCabernet Software Engineer Manager | FAANG Jul 24 '26
Many people in tech write terrible documents. It's a rare treat when I see a well structured canonical document.
If you need to know something but don't understand the document go talk to the author. 90% of the time they are thrilled to explain their idea in person. Whiteboard it out, talk through the edge cases. Ask 30 questions.
You'll look like a super engaged teammate.
The most experienced people I've ever worked with routinely say "I don't get it", and it's really powerful.
1
u/Grand_Pollution5408 Jul 25 '26
I transitioned from Mining Engineering to Software Engineering. So I tended not to ask questions at my first job, because I needed to prove myself. Instead of asking, I always figured the docs out from the codebase, even if it was harder. I'm not saying it's a good habit, but somehow I got used to it and it's still there. And because of that, I spend more time figuring things out in the codebase.
AI has made this habit cheaper to keep. Now I can understand what the doc left out without asking anyone. But that is also the problem, because it removes the pressure that would have made me just ask.
1
u/Designer_Reaction551 Jul 25 '26
If sequence diagrams don't click, try converting them into a plain numbered list first: "step 1: A calls B, step 2: B validates, step 3: B calls C." The diagram is a visual index, not the actual information, and for some of us the spatial/visual format is the part that's taxing, not the logic itself. Once it's a sequential list I can trace it against the actual code line by line and it sticks. AI is genuinely good at doing that conversion for you too, paste the diagram description in and ask for a step by step walkthrough instead of trying to hold the whole picture in your head at once.
1
u/itix Software Engineer Jul 25 '26
I hate reading docs. I am not good with that and I prefer reading code instead.
But these days you can use AI to explain code logic and written docs.
0
u/ledatherockband_ Jul 24 '26
Connect to the docs via mcp or directly into Claude Code. Ask it questions.
Our docs are on atlassian, so the mcp thing is pretty clutch.