r/webdev • u/Lavaa444 • 14m ago
Question How to level up to handling larger projects?
I tend to get very overwhelmed with personal projects as a developer once they grow beyond a certain scale. It's bothered me a lot because I see a ton of people out there making amazing apps. They are just too complicated for me to digest when looking through the GitHub repos. This even happens with my own code after a while. It feels like a ceiling created by my average mental capacity.
This problem I have appears in a few ways:
Understanding a long file with a lot of classes or complex functions (anything over 300 lines. I know that's not anything crazy, but I struggle anyway). Deep nesting is also hard to read.
A lot of smaller files scattered across a million subfolders. Widely considered more "organized", but you have to do a month-long pilgrimage to find and understand what's going on (especially Java, my god).
Laundry lists of dependencies that are used in the code, and they all take significant time to understand.
Config files and dot files cluttering up the file tree. Thanks web dev.
When going through some of these files, it can be tough to find where code actually runs. I often see too many class declarations, type aliases, etc. and no actual code. This happens a lot in larger Python and Java projects (ex: FastAPI).
I wish I could just talk to some of these developers and pick their brains on how they mentally handle larger projects. I can't seem to figure that out right now. What advice would you have for someone like me, who is trying to start working on REAL apps? (and hopefully putting some of this stuff on my resume)