DEV Community

Discussion on: How do you orient to a "new to you" code base?

Collapse
 
djuber profile image
Daniel Uber

I definitely draw the call graph or a message diagram when there are more than 3 collaborators involved (which is perhaps the amount of complexity I can hold in my head at once).

My desk is littered with these things. I should make a little portfolio one day.

Thread Thread
 
cerchie profile image
Lucia Cerchie

I'd love to see a picture!

Thread Thread
 
djuber profile image
Daniel Uber

this is on my desk now, it kind of captures (with bad light and poor penmanship) how the currentUser information is made available to the js frontend code in Forem (top left GET queries the database, right center is a local storage object, left center is a data attribute on the document.body, and the squares in the middle are functions reading and writing those values).

Thread Thread
 
cerchie profile image
Lucia Cerchie

oh wow a peek into the inner workings! love it