I was onboarding onto a codebase I didn’t write.

It wasn’t terrible code. It wasn’t great either. It was just… big.

Multiple folders, shared utilities, functions calling other functions across files. Nothing unusual, just the kind of project that accumulates over a few years.

I ran into a familiar problem almost immediately.

I wanted to change a function, but before touching it I needed to answer one question:

“What else depends on this?”

I started the usual way.

Go to definition. Jump to another file. Search for usages. Open more tabs.

After a while, I had context, but it was fragile. If I took a break or switched tasks, I’d have to rebuild that understanding again.

That’s when it hit me: I wasn’t struggling with the code itself. I was struggling to hold the struct…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help