DEV Community

Ira Long
Ira Long

Posted on

Reading code beats reading docs, sometimes

I used to open the docs first for every unfamiliar library. Now I start with the source of the one function I actually need, and read docs only when the source surprises me.

Faster for small honest libraries, much worse for big frameworks with generated code. Knowing which one you're looking at is most of the skill.

The day I stopped being afraid of the source view, debugging got easier.

Top comments (1)

Collapse
 
aisovereign profile image
Ananya Soni •

Hi. I can relate with that. Because I have also done that previously. I am mostly work in artificial general intelligence full stops are just asking what are the working on. But seriously I never read any documentation now. And I am the founder and CEO of agi systems directorate

So like I just want to know that what are you working on