Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
lotd77757yEverytime I've written actual docs and not just generated markdown ..
I get told it would be better if I just left it out and pointed to the test suite.. -
github95487y@lotd It depends.
The easiest way if you are running out of time is to have minimal docstring. -
github95487y@lotd not ideal. But nowadays, I try to always have a single line description, params with description and the return object.
I haven't started to build APIs used by external Devs, but yes, I need a lot to improve documentation skills too.
Apart from docstring, I do write wiki(during my personal free time) on how to use it and how to setup if someone wants to contribute. -
To me it’s like this:
documentation is like sex
When it’s good you know it’s good
When it’s bad you just want to go somewhere and do it over by yourself.
Related Rants
Documentation is indeed crazy
Source: Instagram
rant
matters a lot
good or poor
documentation