this post was submitted on 07 Jun 2024
3 points (100.0% liked)

Experienced Devs

3937 readers
1 users here now

A community for discussion amongst professional software developers.

Posts should be relevant to those well into their careers.

For those looking to break into the industry, are hustling for their first job, or have just started their career and are looking for advice, check out:

founded 1 year ago
MODERATORS
 

understanding a big codebase you have never worked.

top 4 comments
sorted by: hot top controversial new old
[–] MagicShel@programming.dev 2 points 4 months ago (1 children)

Look at the packages. Try to break it down into architectural layers. Understand in a broad sense what each layer adds to the one before. Rage that it wasn't so much architected as cobbled together from pieces never designed to fit together. Decry it as total garbage and recommend total rewrite.

[–] TheButtonJustSpins@infosec.pub 1 points 4 months ago (1 children)

As an advanced technique, you can usually skip the first half of this.

[–] ikidd@lemmy.world 1 points 4 months ago

Everything except last 3 words.

[–] mundane@feddit.nu 1 points 3 months ago

Pick a small bug or feature from the backlog and fix it. First iteration of a fix is probably shoehorned in there, then I try to adapt the fix to the code base. Matching the style and design of the code base is more important than my own preferences.

I'm a learn by doing kind of person.