Hacker News new | ask | show | jobs
by cyanydeez 3 days ago
I'd do two things before any code changes:

1. Ask the AI to document the code base; either in a single repo or in a sidebyside like <file>.md; then scale up with larger documents for functionality/submodules etc. This will get you and your team to properly contemplate the monstrosity.

2. Once you have documentation, then you write tests; unit tests, e2e, etc. Make sure everything is passing the tests.

After that, you'll hopefully both gained proper insight and solidified functionality. Then you can port whatever you like.