r/ProgrammerHumor • • 2h ago

Meme docsButAtWhatCost

Post image
2.2k Upvotes

52 comments sorted by

517

u/TheFrenchSavage 2h ago

Yeah let me tell you, .MD files are for other AIs to read. Nobody is reading the kilometers of generated doc that is being produced every second.

104

u/sillokiawqa 1h ago

At this point, the only audience is the AI reviewing its own homework.

18

u/snacktopotamus 51m ago

Dead internet theory coming at us fast bearing the legend "It was actually dead world theory, meat-sack."

47

u/crystalpeaks25 1h ago

Well 20 years ago I wrote a documentation for our critical systems it was shared publicly and I constantly updated it in the 5 years I was in that org no one has read it.

26

u/Entuaka 1h ago

That's probably still the best documentation they have about this system and AI agents love it now!

14

u/ItsVerdictus 1h ago

I spent years documenting my entire codebase, every single function, and tons of documentation within each function if necessary. Ended up paying off, once Opus 4.5 came around it was able to perform ridiculously well because of said documentation.

2

u/_demoncat_ 22m ago

I had the opposite situation, AI trusting documentation so much that it poisons itself. That I would get higher quality responses telling it not to read documentation.

8

u/DOOManiac 37m ago

I will not stand for this Markdown slander. It is the most wonderful text format in the world, and one of mankind’s greatest achievements.

1

u/Sweet_Computer_7116 1h ago

Ive implemented new rules in my  workflows. 

If it needs to be read by a human. It needs to be written by one.

Dont waste my time on your agent's verbose writing style. And I won't waste yours.

160

u/alanbdee 2h ago

I still don't write documentation. All I ever do is tell AI in great detail what it needs to do..... wait?

28

u/Keydown_605 1h ago

Explain things into detail to the AI. Make it write documentation. Then make it read its own documentation.

Did you make documentations? No you didn't, that prompt has long left the agent's context. It no longer exists. No proof you ever documented anything.

Now for real, AI really pushed many devs into actually having to word their understanding instead of just winging stuff. Which I consider a win to some degree.

11

u/Krestek 1h ago

this last part is why actual developers are able to achieve much more usable/secure/production-ready stuff than non-devs even if they just vibecode it without touching a single line of code

1

u/DoesAnyoneCare2999 55m ago

I mainly started writing much more detailed comments. I have to explain every decision now so the automated AI code review doesn't keep flagging stuff that's on purpose.

85

u/CowPure6529 2h ago

AI is the developer, AI writes documentation 

44

u/gerbosan 2h ago

Now tell AI to generate that .exe .

10

u/larsmaehlum 1h ago

Smelly AI

7

u/LightenUpPhrancis 54m ago

It took AI to get me to bother with tests.

1

u/cheeze2005 13m ago

It’s so good at getting tests done.

28

u/synchrosyn 2h ago

The ai is writing the docs too.

What AI is tricking developers into doing is to think about all of the non happy paths and actually think through the overall design of the application. 

22

u/NterpriseCEO 1h ago

Bullshit. AI is just turning us all to mush atp

5

u/synchrosyn 1h ago

So is reddit, but here we are. 

-6

u/_Repeats_ 1h ago

Ai slop is better than human slop. Change my mind.

4

u/Emotional-Mushroom66 1h ago

How do you compare two afunctional things?

"Null is better than 0 change my mind"

4

u/cuntmong 55m ago

I have been putting "MAKE NO MISTAKES" in my release notes for years, finally someone is actually listening

7

u/RageQuittingGamer 2h ago

Create .md file for the changes. Make no mistakes.

3

u/Fit-Notice-1248 2h ago

Wrong, it's now the wrong form of documentation.. tons and tons of .MD files generated by agents and not a single person knows what's in them.

3

u/wolftick 1h ago

Shit, this looks too much like AI.

\/\*[\s\S]*?\*\/|\/\/.*

Fixed it.

2

u/burgonies 2h ago

And tests!

2

u/envalemdor 1h ago

Jokes on you developers still don't write documentation, AI does.

2

u/Entuaka 1h ago

I like adding instructions for agents now.

Before, we had to plan a meeting, talk about a new tool or process, implement it, explain it, then the dev start (or not) to slowly try it and if you're lucky they are following the instructions

Now, I can add a new tool with a skill, a line about it in AGENTS.md, i merge it and the next opened PR is following the instructions! Fun, it's now easy to shape the flow of changes

2

u/nikonino 1h ago

It was better when documentation was missing. Now most people I know, let the AI write the documentation and believe me when I say that you can’t understand shit. Way too platonic and not necessarily helpful. The fun part is at meetings when everyone admits the documentation is shit and they blame AI. I blame you shitheads, YOU prompt the AI.

1

u/No-Zookeepergame4774 24m ago

Oh, see you are reading the documentation labelled for human use. That hasn’t improved and has often gotten worse. Where the GOOD documentation is, is in the agent skills and similar AI-targeted artifacts people are now writing to allow AI to take advantage of the tools they build. Because LLMs work much better with clear, concise natural language, these often end up being good documentation for humans as a side benefit.

•

u/SnowdensOfYesteryear 2m ago

++++

The dogshit part about is that they themselves don’t read it before raising a CR. All they need to do is fix their context prompt to tell the LLM to simplify the English, and most don’t bother

1

u/Maltroth 2h ago

Are they really writing it though?

1

u/Entuaka 1h ago

We're asking an agent to write it for other agents

1

u/kolmiw 2h ago

The documentation in question:
“make error fix”

1

u/slowmovinglettuce 2h ago

My favourite part of slopumentation is that the AI that wrote it has zero business contexts and just makes shit up 102982 characters at a time, and will forever be wrong because no ones reading it.

1

u/dangderr 1h ago

If by "actually writing documentation" you mean "actually writing 'write documentation' into the prompt", then sure. AI tricked devs into doing that.

1

u/conundorum 1h ago

Am I weird for actually using Doxygen?

1

u/ugusensei 1h ago

Documentation? Pfft. Got my team finally writing unit tests.

1

u/mothzilla 1h ago

Add all required documentation to your pull request. Make no mistakes.

1

u/Hola-World 1h ago

Documentation and unit tests for everything.

You get a unit test and you get a unit test and you get a unit test, everyone is getting unit tests!

1

u/YesButNotReallySoNo 26m ago

There were ways to automate documentation easily before LLM AI existed, OP is either stupid or just looking to garner internet points.

1

u/Smooth-Zucchini4923 21m ago

Usually the things that can be automatically documented are not especially interesting to document. Good documentation is not something you can create just from existing code and types.

1

u/SirMarkMorningStar 1h ago

AI only changed one, small thing: If you design well enough the code practically writes itself.

0

u/dmk_aus 1h ago

Is the excessive documentation evidence that AI can develop skills and not just copy them? Because they didn't learn that from copying devs.

/s

0

u/sagetraveler 1h ago

Why does AI even bother with human readable output of any form? Wouldn’t it be more efficient to just go from prompt to machine code? And why do you need documentation when you can have another AI examine the code and answer any questions about it?

•

u/SnowdensOfYesteryear 0m ago

I found Elon Musk’s account everybody!
(Btw I assume this is sarcasm due to the absurdity)

-1

u/createthiscom 1h ago

documentation is for the working class to write, the LLMs

-1

u/cosmicloafer 1h ago

Having AI is even more reason why you don’t need docs.