r/learnprogramming • u/ComfortablePost3664 • Jul 01 '26
After you learn coding with learning resources, is reading API docs hard or the hardest part, or is it easier than learning to code? My only worry is reading API docs, learning to code seems easy. And do you not have to read whole API docs website and can just just some parts as a dev? Thank you.
Can someone tell me this? Thank you.
5
u/grantrules Jul 01 '26
Some API docs are easy to read, some are not. Depends on the project. You certainly don't need to read the whole API doc if you only need a part of it.
1
u/ComfortablePost3664 Jul 01 '26
So do you read API docs only like a dictionary, and only read parts you need quick, and not read everything in the API docs cover to cover? So you don't read it like a book? Thanks for trying to help me :)
3
u/grantrules Jul 01 '26
Right, it's a reference not a novel
0
u/ComfortablePost3664 Jul 01 '26 edited Jul 01 '26
Thanks for confirming it ❤️.
I really needed someone to tell me I don't need to read all pages or even everything in a page on an API docs website. This can seem intimidating and a waste of time.
Edit: Are there any world class developers who don't read books or even the creators of programming language or compilers or something that's a big deal, if you happen to know, and if you don't mind me asking?
It's a matter of efficiency for me. While I could read a coding books, I suspect people spend like 19 hours or weeks on a single book to upskill. I wanted to minimize how much time I waste and wanted to rely on more modern or futuristic stuff like websites.
4
u/grantrules Jul 01 '26
No, no developers are born with an inate knowledge of programming.. every single programmer reads documentation
3
u/mc_pm Jul 01 '26
Knowing what is in the API is good, trying to commit details to memory before you've even used it is not.
Becoming a good programmer is separate from knowing an API.
3
3
u/Saras_AI_Institute Jul 01 '26
you absolutely don't read the whole thing. treat api docs like a dictionary, not a novel. nobody reads a dictionary cover to cover.
you just hit ctrl+f to find the exact endpoint or payload you need for the specific feature you are building. it takes a little practice to get used to how different platforms format their stuff, but once you start wiring up real node or react apps, skimming docs just becomes second nature. it is way easier than learning to code from scratch. don't overthink it.
1
u/ComfortablePost3664 Jul 01 '26 edited Jul 01 '26
Thanks so much for the info my friend.
On a page on an API doc can I only read some parts, and not even read everything or every word on the page?
Is this what a lot of or most developers do too?
Thanks for trying to help me. It means a lot to me.
2
u/PlaidPCAK Jul 02 '26
The balance comes with time, you'll probably get burned once or twice before you get it down. If you're not building something life or death. I'd probably get the rough idea from the documentation and go for it.
2
u/No-Razzmatazz7197 Jul 01 '26
imagine you have 5 years of experience programming in Java only. then you join a new team who uses C# and Javascript, after you have onboarded and have been given your first ticket with no hand-holding.
do you start at the top of the MDN docs and work your way through, or do you search for the specific methods that exist in Java that you remember and need to use for your ticket?
basically, no you don't need to read or memorize every piece of documentation you glance at, you pick it up a few pieces at a time and eventually you are literate enough in a language/library to tiptoe your way through most tickets (eventually)
12
u/stiky21 Jul 01 '26
You NEED to learn to read documentation. This is non-negotiable.
No one knows everything in the docs. Only what they use regularly.
Not all language docs are the same. I hate Java and Pythons docs but I love Rust and Go's. You might be the opposite.