Hacker News new | ask | show | jobs
by jpochtar 1603 days ago
Reading code is so hard for years I thought it just wasn't possible to get good at it.

I could probably write code good code about 10 years ago, but only felt comfortable reading about 2 years ago.

Like the author, I now prefer to read the code I'm calling than docs, tutorials, function signatures, etc.

Getting comfortable reaching for a debugger helped immensely.

If you prefer Googling for docs to debugging the tools you're using... there's another level to this game!

2 comments

I remember being amazed at people who would just read the source to figure things out. Somewhere along the way, I became one of them.

Turns out, it takes a really long time. If any junior devs are reading this, be patient and enjoy the ride :)

Try learning algorithms by reading competitive programming solutions from actual competitions. You get good at reading code really quickly that way!
Where can I find such solutions?