r/softwareengineer • • 4d ago

How are you maintaining your codebases

Hello, with AI writing most the code now I’m curious as to how teams are maintaining their codebases, or whether they are at all.

I imagine there is a distribution of experiences here, to teams pushing code with no review to those who aren’t using AI at all.

Would appreciate advice on methods or processes teams are adopting to keep their codebases maintainable and healthy? Anything particularly effective?

Thanks!

2 Upvotes

4 comments sorted by

1

u/PopQuiet6479 4d ago

i make sure every repo has a specific job and does just that and only asks/answers other repos things its specifically tasked with. I picture them as kingdoms in a land that trade only specific things. If they start trading things they're not supposed to then we have a problem. But i know where mostly because i know which kingdom trades what.

1

u/PopQuiet6479 4d ago

example my casino site:

API repo: Holds all external api's. Foreign trade is held here and can't venture anywhere else. Cash in cash out powers are stored here

Front end repo: hold no heavy data and does what its told by back end repo.

Back end repo: tells front end what to do, runs game result.

admin repo: monitors everything but has very limited powers

internal financial repo: only deals with chips inside the casino. has no cash in cash out powers

security repo: overseas security things. runs audits on wallets before cash out.

1

u/PopQuiet6479 4d ago

on top of that i have some strict limitations on what others can do. always making sure no one can push to master and having 4 environments dev/test/staging/prod not many people have prod powers. most hang out in dev and test.

-1

u/Valuable-Self8564 3d ago

My AI does it. I can’t remember the last time I looked at it.