Learning a codebase by writing in it
It’s been almost a year since I regularly wrote code by hand. Both at home and at work, I’ve used coding agents to build things that would have taken me a lot more time to write by hand. But today, when presented with a new opportunity to contribute to a backend service, I decided to write the API route myself.
It’s a Go API that my team uses and now also maintains, so there is less friction for me to contribute. Go is a language I’m not very familiar with, but I was tasked with adding a new route that forwards requests and only lets certain query parameters through. I read through several existing routes and found one that uses this allowlist pattern. Writing the route myself helped me learn the request flow, what gets logged, and how downstream errors come back. Understanding these details also helps me troubleshoot the service in my day-to-day role.
I found that I enjoyed writing Go. I’ll probably use agents when working in this service in the future, but this time I wanted to explore a new codebase to learn the conventions.