Member-only story

How To Navigate a New Codebase in 4 Steps

Brian Jenney
4 min readOct 4, 2021

--

I’ve been staring at this code for 6 hours and still don’t get it…

As a software engineer, few events are more daunting than your first day in a new role where you are introduced to a massive codebase. If you’re lucky enough to have a formal on-boarding experience, then perhaps a more senior member has walked you through the codebase, tech debt and associated gotchas with the code you will now help shepherd. Even so, it can be difficult navigating the patterns used, unique edge cases and how the project fits into the larger context of the business.

I’ve worked with at least 6 different codebases over the past 7 years from job switching and contracting. Here is the system I use when I want to begin contributing quickly in a new codebase and gain a basic understanding of how things are working.

1. Pick An Area to Focus On

A few years ago I worked in a particularly complex codebase with several APIs written in different languages and a few other client side apps. Honestly, it was nearly a year before I had some level of comfortability with all those repos and the general data flow. If you are a UI developer, focus on the front end apps you will be working with on a daily basis. Conversely, backend devs likely won’t get much benefit from digging into the internals of a component library used in the front end.

2. Get Something to Look At

--

--

Brian Jenney
Brian Jenney

Written by Brian Jenney

full-stackish developer, late bloomer coder and power google user and owner of Parsity.io

No responses yet