Join Nostr
2026-03-13 19:09:36 UTC

Doug Parker 🕸️ on Nostr: I notice that #AI agents are generally pretty bad about writing imports correctly. ...

I notice that #AI agents are generally pretty bad about writing imports correctly. They either forget to import something or import too much and leave extras.

I suspect this is from the fact that you need to "predeclare" your imports long before you're actually using them.

Imagine you're writing a file, and you know what you want, but now you have to write out all your imports in one-shot before actually writing the code. You're definitely gonna miss some stuff.

AI seems pretty good at fixing imports it missed, but tends to leave unused imports in my experience.