Why do AI coding tools love copying your worst legacy code?

by•

It's funny how smart these models are, yet they will completely ignore the clean patterns right in front of them and mimic some weird workaround I wrote in a utility file two years ago.

The more context or files I attach the more it hallucinates random functions that don't even make sense for what I'm building today.

I'm starting to think manual context curation is the only way to keep the code clean. How do you feed your tools the right files without overwhelming them with noise?

2 views

Add a comment

Replies

Be the first to reply

Have a question or a thought to share? Add a comment above to start the conversation.