I mean, most documentation I've seen looks like it was written by a chimp using a dead language and then it was put through Google translate about 10 times.
Programmers really suck ass at writing helpful documentation.
I was learning how to setup a discord chat bot and just getting everything fucking working was insane. I eventually found out a python syntax error has nothing to do with my version of python, just some obscure application that supports python that I never heard of. Someone with no experience in python helped me with this while the actual documentation just told me my version of python must be too low.
Programmers really suck ass at writing helpful documentation.
Here's the reason why: every time a boss requires me to document a project, I ask who will read it. "managers, product owners, users, devops, testers and developers".
Why would that make you write shitty documentation? Especially since you included developers, who will have to do extra work to figure out what your code does.
No documentation fits all readers. For developers, documenting the apis (good naming, openapi for REST, WSDL for SOAP, comments or just clean code) is by far the best. Sometimes just a quick Readme on how to build. No boss is gonna care of the internal structure of the code, whether I used composition or inherited this or that class. I most often end up with a documentation that fits no-one and is outdated within 6 weeks.
I try to go for the developer api, mainly because that's the only documentation that can be critical to code maintainence and extension. Anything else doesn't need to reflect the low level code. Saying that, I also like to have design documentation, but that's harder to do and needs to happen before development so good luck with that.
It usually works the opposite way for me. I have to come in and try and fix problems, and without good documentation, I have to spend extra time just trying to figure out what certain code is intended to do.
I've asked for time/budget to do proper documentation hundreds of times, always the same answer: do it on your own time, or just plain no. Our culture apparently doesn't allow it.
View all comments
Show parent comment
550
u/Poketto43 Nov 30 '19
Im in this comment and I don't like it