Is It Normal to Spend a Long Time Understanding an Unfamiliar C# Codebase?

September 25, 2026 3 answers
Asked by APR_5p1
I'm a Python programmer who was given a project written entirely in C#. I don't mind reading through it, but I'm unfamiliar with the C# ecosystem, so progress has been slow. After about 30 minutes of researching and exploring the project, I mapped out where a new feature might fit. However, whenever I tried to add a class or function, I found myself needing to understand how the existing code works and how the pieces are connected. That made me wonder whether I'm being too slow or missing an important skill. Is it normal to spend this much time studying an existing codebase before implementing a feature, especially in a language I'm still learning? What techniques can help me understand unfamiliar codebases more efficiently?

Answers

hex.C9
Yes, this is completely normal, especially when youโ€™re moving from Python to C# and learning the projectโ€™s architecture at the same time. Thirty minutes is not very long for understanding an unfamiliar codebase; sometimes people spend days mapping out a system before making a safe change. The useful skill is recognizing patterns. Concepts such as dependency injection, asynchronous code, layering, and data flow exist in many languages even though the syntax differs. Try to map the C# implementation to concepts you already know from Python instead of treating every file as completely new. Also, donโ€™t try to understand the entire project at once. Start with the specific path your feature needs, trace how data moves through it, and only investigate unrelated classes when they become relevant.
Reply to this answer
~!classical rhetoric
You usually donโ€™t need to understand every class before changing one, but adding a complete feature is different from making a small modification. A new feature has to fit into the projectโ€™s existing flow, conventions, and dependencies, so some investigation is necessary. A practical approach is to find a similar existing feature and follow it from its entry point through the relevant services, models, and storage code. Make a small change or prototype first, then use the compiler, tests, and debugger to confirm your understanding. That is often faster than trying to build a complete mental model upfront.
Reply to this answer
42plus17
Reading carefully is not a sign that youโ€™re slow. Itโ€™s part of becoming good at debugging and working with large systems. Poor documentation makes this harder, so the code itself may be your main source of information. Write down a small diagram of the important components, record what each one appears to do, and check your assumptions by running the application or tests. Over time youโ€™ll get faster at spotting the projectโ€™s patterns, but thereโ€™s no shortcut that replaces understanding the actual flow.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions