How do you manage a large codebase?
Table of Contents
How do you manage a large codebase?
Work effectively on a large codebase
- Realize that you can only understand a small fraction of the codebase.
- Realize that it takes time (probably months) to understand even a small faction of a codebase.
- Realize that code is not everything.
What is considered a large codebase?
Person hours of work to complete the project. Will it take a million hours or something else? This could also be seen as a time line factor where some projects may take years that I’d say were big compared to others that may take less than a week.
How do I learn Codebase?
9 tips to understand new code base:
- Get a big picture of the application and features you will work on.
- Find someone who worked with that code before and ask them to walk you through it.
- Debug, debug, debug!
- Don’t be stuck for too long, ask for help.
- If you don’t know something let others know.
- Ask for code review.
What is the base of coding?
In software development, a codebase (or code base) is a collection of source code used to build a particular software system, application, or software component.
How many LOC is a large project?
But the effort for a 1,000,000 LOC system is more than 10 times as large as the effort for a 100,000 LOC system. [Using software industry productivity averages], the 10,000 LOC system would require 13.5 staff months….Diseconomies of Scale and Lines of Code.
Project Size | Lines of code (per year) | COCOMO average |
---|---|---|
10,000,000 LOC | 300 – 5,000 | 1,600 |
Where do I start if I want to learn programming?
There are a ton of educational sites where you can find programming tutorials. Some of my favorites are Codecademy, Udemy, Udacity, Team Treehouse, and Khan Academy.
How do I learn new codebase?
Explore
- Start from the top.
- You do not need to understand the whole codebase.
- Use the finished product yourself.
- Run the code locally.
- Ask questions.
- Pair program.
- Read and write documentation.
- Take notes.