How to speed-run your project towards legacy code
It’s simple really — just use any AI generation tool to write code and don’t read it. Or if you read it — don't give a second thought about why it is written like that.
Blindly trusting LLMs to write code makes it legacy instantly. Which means it becomes cumbersome and unpleasant code to work with in the future.
There is a way to avoid this, and LLMs can also help with this: write documentation. Not a book with a reference of what every function does.
Make code self-documenting. Scrutinise AI-generated code, ask its reasoning behind the names and the meaning of abstractions. And if that is not enough, put a small note beside the code—preferably as a comment—that details the reasoning about why it has been written the way it was written.
Make the life easier for the future developers, and yourself.