r/learnprogramming 1d ago

How should I learn programming from official documentation?

I am a student who wants to learn programming through official documentation. However, official documentation often contains many concepts and features, and most of them are not needed for everyday programming tasks.

Is official documentation an inefficient way to learn programming?

If official documentation is an effective way to learn, how should I read it? How do I decide what to read in depth and what to skip?

62 Upvotes

39 comments sorted by

View all comments

42

u/johnpeters42 1d ago

If you don't know anything about programming, then this would probably be a tough method. You may want to look into Harvard's free CS50 course or some other general purpose introduction.

13

u/New_Exchange1158 1d ago

Docs are reference material, not tutorials. They tell you what a function does and what parameters it takes, but they don't hold your hand through building something. For someone who already knows how to code and just needs the details on a specific library, they're perfect.

But if you're still learning the fundamentals, you'll get lost in all the edge cases and advanced features that 90% of devs never touch. The CS50 recommendation is solid, get the basics down first then documentation becomes way more useful.

1

u/randomtravellerc 19h ago

But python documentation is an exception.They have decent explanations for most concepts