r/AI_Coders • • 19h ago

hot take: "learn to code" will become "learn ai"

0 Upvotes

r/AI_Coders • • 9h ago

Is AI more useful for the first implementation of something, or the second?

0 Upvotes

AI certainly helps when implementing an SMTP client for the first time. It can explain unfamiliar APIs, authentication methods, and help write the code.

But say you need to support a second SMTP provider.

If you simply ask AI to add support, it might create another standalone implementation, duplicating logic that already exists.

Instead, you first refactor the original implementation.

Move the common logic into an abstract base class: email body processing, attachment handling, message preparation, and so on.

Leave only the provider-specific details abstract, such as SMTP host, port, and authentication flow.

Then introduce a factory that selects the appropriate implementation based on a flag stored in the database.

Now, when you ask AI to support another SMTP provider, it doesn't need to figure out the architecture. It just implements the abstract members for that provider.

And that's where I've found AI to be particularly effective.

Of course, AI can generate an abstract base class too. But deciding what belongs in that base class, what should remain provider-specific, and how everything fits together is an engineering decision I'd rather make myself.

The biggest productivity gain isn't always from AI writing new code. Sometimes it's from AI extending decisions you've already made.

Does that match your experience? Is AI more effective when you give it an established architecture, or do you trust it to design the abstractions as well?


r/AI_Coders • • 15h ago

Competitive OS harnesses?

0 Upvotes

I have been doing research on AI harnesses for some years now, having worked on LLM-based applications. I was always disappointed on how there are a lot of different harnesses being proposed, with no cross-compability of features whatsoever, and very little work done on (mildly) advanced features like context compation/pruning, ephemeral context, diff-based file editing.

Just recently, I have done some experiments with proper vibe-coding. I started a project with Claude Code, and, at some point, I asked it to port it to OpenCode (which I see a lot in threads about vibe-coding with OS models).

I don't know if Claude did something wrong, but I know that, in Claude Code, my project's sessions take hours to go from ~15K tokens of context to ~80k. In OpenCode, it took minutes for many different sessions to reach 200k tokens. Have anyone observed the same problem? Was Claude Code too dumb to configure OpenCode correctly, or is it OpenCode that doesn't quite ship the important features that limit context creep? Does another OS harness provide a more complete set of valuable features like these?

The OpenCode configuration assembled for my project was based on opencode serve, if that helps.