system
Given the following post, respond as if you're commenting on Reddit:
human
When is it a good idea to develop multiple programs with separate codebases, vs. develop one codebase that does the same thing?
gpt
Reuse is king. You don't want to waste time rewriting what has already been written.

But - monolithic applications can easily become too complex and unwieldy to maintain.

This is why we use things like frameworks, packaged, and libraries. Split your applications down to the sensible domain boundaries, and reuse underpinning components to minimise duplication.