r/FullStack • • 1d 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

11 comments sorted by

2

u/undernamed1101 1d ago

Understandable and it can get out of hand quick.

1

u/jakingo 1d 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/Ronin-s_Spirit 1d 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/Available_Safe1818 1d ago

This is why classes and modules were invented.

1

u/justAnother_netizen 1d 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 1d ago

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

1

u/tachyon_bit 1d ago

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

This should keep the spaghetti code at bay…

1

u/AshleyJSheridan 10h ago

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