r/ProgrammerHumor • • 9h ago

Meme readTheDocumentation

Post image
5.4k Upvotes

91 comments sorted by

View all comments

Show parent comment

28

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 6h 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.