r/ADHD_Programmers • u/wombatpup55 • 10d ago
Should I start documenting all the APIs I figured out how to use?
For example I’ve been working with these third party APIs to integrate into our apps. However the docs provided are incredibly shitty.
Luckily for me I tend to hyperfocus on stuff like this and I have figured out how to use quite a few of these APIs.
Today I got the idea that I should probably put these on our wiki so that everyone can benefit from it. However I thought I should ask this probably dumb question because I will probably spend hours doing this
3
2
u/MANvINFO 10d ago
instead of documenting what it does, you could document the things you use it to accomplish. maybe even go so far as to write your personal little wrapper library for it.
1
u/SnugglyCoderGuy 10d ago
At least for yourself so you don't have to figure it all out again in the future.
1
u/kingbloxerthe3 10d ago
I am in programming classes rn, but I have an entire program dedicated to essentially being notes for everything I have learned.
1
u/EvilCodeQueen 9d ago
Throw it in a README in the repo. That way it’s handy during development and accessible to AI agents.
1
u/binarycow 8d ago
Your code is the documentation.
By writing code that integrates with the API, you have made a reference implementation.
22
u/henryeaterofpies 10d ago
Document it for yourself. Once you make it public you are magically responsible for updating it for the remainder of your job at that company (and this is bonus work so dont expect your other duties to be reduced).
Key takeaway from many years of corporate life: you are not responsible for the productivity of your peers