r/FullStack • • 4d ago

Question Does anyone else find their project getting messy as they add more features?

Whenever I start a new project everything feels organised. But after adding a few features, things slowly get messy. The frontend backend APIs and database all start getting harder to manage.

Sometimes I just want to make one small change but end up worrying about breaking something else'

How do you guys keep your projects organised as they grow? Any habits or tips that have actually helped you?

12 Upvotes

12 comments sorted by

2

u/undernamed1101 4d ago

Understandable and it can get out of hand quick.

2

u/Ronin-s_Spirit 4d ago

I document my ideas so I can stay forcused on them, then I refine the documentation once I implement things. This is enough to not step on my own toes.

1

u/jakingo 4d ago

Break your project into smaller modules and keep each part responsible for one thing. Also, write tests and clean up code regularly. It saves a lot of trouble as the project grows.

1

u/Available_Safe1818 4d ago

This is why classes and modules were invented.

1

u/justAnother_netizen 3d ago

Yeah I do, but it is a reason why I document everything I do, it helps me keeps track of what I am doing.

1

u/AnxiousPneumonia 3d ago

Small functions. One job. If it does two things, split it

1

u/tachyon_bit 3d ago

Good architecture. Small reusable modules. Good practices. Decomposition mindset.

This should keep the spaghetti code at bay…

1

u/AshleyJSheridan 3d ago

So many comments here all reinventing clean code, a concept that has been around for decades...

1

u/shadmansidy 2d ago

man i would suggest you to use ponytail skill that makes the code base much easier