Ask HN: Working with large code base for the first time
1–10 of 90 posts
Re: Ask HN: Working with large code base for the first time
#2Re: Ask HN: Working with large code base for the first time
#3Make sure you're able to efficiently navigate through the code. If your IDE supports jumping to declarations and usages, make sure you get working.
Look at old commits to see how changes were added before, that will hint at how future changes should look.
Ask others for help if something doesn't make sense.
Re: Ask HN: Working with large code base for the first time
#4Re: Ask HN: Working with large code base for the first time
#5Re: Ask HN: Working with large code base for the first time
#6One of my favorites is “how did you know to do that?”
Re: Ask HN: Working with large code base for the first time
#7Find out the deployment process. Find out what to do if anything goes really, really wrong. Try to find patterns in the code. Just explore for a while and even try to create you own mental model of how things are structured.
Re: Ask HN: Working with large code base for the first time
#8Not sure when a bug was introduced? Write a test then bisect (if you can't automatically bisect frontend code you have other problems, but manual bisects work in a pinch).
Not sure why something was written the way it was? Hey sometimes this stuff just evolves naturally, try looking back through blame history to see how different commits effected the code.
Not sure what needs touching to add a new feature? Try seeing if you can find a similar feature that someone else wrote in the past.
Re: Ask HN: Working with large code base for the first time
#9Re: Ask HN: Working with large code base for the first time
#10To see how it uses the backend, open the network tab in Chrome developer tools (or equiv in other browsers), look at what requests it makes, and then find corresponding controllers within the code.