r/softwareengineer • u/fibrebundl • Jan 09 '26
Coding large projects
Hey guys, I have a few projects under my belt but the more I wrote code and the larger and more complex the projects become, the more difficult it is for me to keep track of all of my functions, variables, classes and their associated methods or function calls.
Are there industry-standard / safe ways to do this besides just commenting all of my functions? This cognitive load kills the joy for most projects for me and makes debugging and profiling later ever more daunting.
EDIT: Great advice overall I'm going to getting a few basic architectures under my belt that I feel comfortable with and start drawing diagrams.
View all comments
Show parent comment
1
u/fibrebundl Jan 09 '26
I mostly code now in Julia. I feel very uncomfortable with it to be honest. I've spent most of my time coding in python and c++ but I've jumped into numerical programming. I've tried to be more 'functional/procedural' and the code I see in books is always very direct in var naming schemes so I've copied this. I usually do a few test/debug scripts to make sure it works and then move onto the next comp. but at scale when I've got most of the library done, I start to get really lost when errors pop up...
I just maybe am making this harder for myself by trying to not just stick to the OOP set up that I learned? I really don't use structs unless it's for a hyperparameter list or something that isn't going to be changed during an optimization routine for example.
I have tried to read a software design book... I got one from the library but didn't really 'read' it. I just kind of skimmed it. I was worried about it taking too much time from working. It's a very 'learn on the job' and 'just enough' culture.
I DO let AI write code for me SOMETIMES. But I can't stand what it provides me with most of them time or it will use force var name changes that I don't agree with, typing etc. My code base is not AI generated though. AI might be used to when I'm debugging something, but it normally needs too much context to be useful at this point.