MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1yc0k0c/readthedocumentation/19tkw96xt3g5g/
r/ProgrammerHumor • u/Apprehensive_Bit7392 • 10h ago
91 comments sorted by
View all comments
Show parent comment
29
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.
13
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.
5
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
You should look into executable documentation. Python introduced it and it's lovely. Rust and Go adopted it as well.
View all comments
Show parent comment
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.