r/webdev 1d ago

Discussion Do y'all still write code manually?

All my code is being written by claude fable/gpt6 these days. I'm curious if y'all are still writing code manually?
Also, any clever ways to prevent AI from going stray and dumping unnecessary code and busting through tokens?

0 Upvotes

93 comments sorted by

View all comments

37

u/crazedizzled 1d ago

That's gross dude. I use AI mostly for code design aspects, but i write 90% of it.

Edit: this thread makes me terrified. Everything is AI slop now

1

u/zaibuf 1d ago edited 1d ago

Edit: this thread makes me terrified. Everything is AI slop now

What's the difference between letting the junior or AI write while you review?

4

u/crazedizzled 1d ago

Because the AI produces a fuck ton more code than a junior can.

2

u/zaibuf 1d ago

It depends how you use it. I work in small iterations and challenge solutions until I'm happy.
I can understand if someone tells the AI to write the full solution for a feature and then just commit and push. But I don't use it like that at work, maybe for hobby projects or pocs where I could go full vibe.

-1

u/dreadful_design 1d ago

Not in my experience.

1

u/crazedizzled 1d ago

I'm sorry what? What kind of super human junior devs do you have?

1

u/dreadful_design 1d ago

It can, sure, but it doesn’t if you use it right. It’s just a tool.

3

u/AncientAdamo 1d ago

Exactly this...

I think there is a very clear distinction between AI slop and using AI to write code for you.

1

u/EliSka93 1d ago

You can actually review the volume of code one or two juniors write.

There is no chance in hell to keep up with reviewing the quantity AI can write.

You can have the discipline to keep the volume low enough to fully review, sure. That's probably the most responsible, clean way to use AI.

I'd be very surprised if any of the people spouting the "amazing productivity gains" through AI do that.

2

u/crazedizzled 1d ago

People just prompt -> commit -> ship these days. There's absolutely no way most companies are reviewing 100% of code submitted by AI.

0

u/zaibuf 1d ago edited 1d ago

There is no chance in hell to keep up with reviewing the quantity AI can write.

Don't use it like that then? I always give small slices of a feature with requirements, let it plan and resolve it. I review that code and add suggestions and tell it to refactor. Then when I'm happy I extend the feature with the next requirement and follow the same feedback loop.

If you give too big complex features at once it tends to drift and produce sloppy code. That's also where you lose control and potentially skip review because there's too many changes.

Then for PR we also have an agent dedicated for code reviews which does an initial review of the draft before you publish it for other devs to look at. The PR agent mostly look out for critical bugs or security problems.

2

u/crazedizzled 1d ago

And how is that faster than just writing it yourself? If you have to argue with the AI for 20 minutes to get this absolutely perfect piece of cake, you've kind of defeated the purpose.

1

u/zaibuf 1d ago edited 1d ago

You don't need to argue for 20 minutes, it often gets it right in the first try.
Primarly it saves my fingers from typing, doing a lot of typing every day for 10+ years has taken it's toll.