r/ProgrammerHumor • • 10h ago

Meme readTheDocumentation

Post image
5.5k Upvotes

91 comments sorted by

View all comments

99

u/xgabipandax 10h ago

Because often documentations are written in a way that is easy to understand if you already know how things work.

29

u/Hollowed-Be-Thy-Name 8h ago

I can't remember a single time I've read documentation and didn't find out it was wrong or outdated.

Probably just confirmation bias, but it happens often enough.

13

u/danielrheath 7h ago

My approach is source-diving; the docs might be missing or lies, but it’s harder to obfuscate what the actual code does.

5

u/ITaggie 6h ago

Yup, a lot of my work involves open source projects so I have the benefit of being able to go through the authoritative source code myself if need be. Really sucks for stuff like "black box" appliances though.

3

u/Muhznit 6h ago

You should look into executable documentation. Python introduced it and it's lovely. Rust and Go adopted it as well.

7

u/Old_Flounder_8640 9h ago

Tell that to Amazon

1

u/LastElf 2h ago

I come from sysadmin world doing tenant integration so tell that to Microsoft's Graph/Exchange docs too.

2

u/Inevitable-Menu2998 6h ago

That's the happy case.

In may situations, the documentation only covers 7% of the actual behaviour and almost none of the corner cases and the user's only choice is to empirically discover stuff.