Process

5 min read

Reading other people’s code on the train

A forty-minute commute is a good reading list. How I pick a repository, what I look for and what I write down.

My commute is forty minutes on a train with no signal. Two years ago I started using it to read code instead of the news.

Pick something you use

I choose a small library I already depend on. Reading it answers questions I actually have, and I notice when it is doing something odd.

Start at the tests

Tests tell you what the authors think matters. Then I read the entry point, then whatever I am curious about. I never try to read it all.

Write one paragraph

At the end of the ride I write one paragraph: what I learned and what I would steal. Sixty of them now live in a file called stolen.md.

Written by

Iri Halvorsen, software engineer in Bergen

mail iri

Found a bug in my thinking? Tell me.

$ subscribe --notes

New notes by email, when there are any. About one a month.

Iri Halvorsen

Software engineer

Bergen, Norway

Open to work from January 2027

Colophon

Set in Geist and Geist Mono

Built in Framer

No tracking, no cookie banner

buildlog_

© 2026 Iri Halvorsen. All demo work is fictional.

exit 0

Create a free website with Framer, the website builder loved by startups, designers and agencies.