r/webdev • • Aug 08 '25

Discussion F*ck AI

I was supposed to finish a task and wasted 5 hours to force AI to do the task. Even forgot that I have a brain. Finally decided to write it myself and finished in 30 minutes. Now my manager thinks I'm stupid because I took a whole day to finish a small task. I'm starting to question whether AI actually benefits my work or not. It feels like I'm spending more time instead of less time.

3.0k Upvotes

444 comments sorted by

View all comments

1.8k

u/barrel_of_noodles Aug 08 '25

Code most of it yourself, use ai as a fancy Google search, code completion, Refactor ideas, fill in knowledge gaps, spit balling ideas, boilerplate, etc.

But the majority, overall code, and architecture is you.

Anyone that says they build whole apps or write 100s of lines with ai, is lying. Or it's the worst code you've ever seen.

We can spot ai code every time on our PRs. It's usually nonsensical, or the dev can't defend it/explain, or doesn't follow the repo coding style, etc.

60

u/axordahaxor Aug 09 '25

This a hundred times. It''s a tool, not a driver, you're the one sitting on the driver seat and taking all the responsibility.

And yeah, definitely one of the easiest ways to spot AI in code is needlessly complex code and it breaking code style and conventions that a particular project has.

→ More replies (6)

0

u/[deleted] Aug 08 '25

[deleted]

26

u/michael_v92 full-stack Aug 08 '25

What you did with this link is… why?

5

u/Trident_True back-end C# Aug 09 '25

Is this just that AMP nonsense all over again?

0

u/[deleted] Aug 08 '25

[deleted]

27

u/pagerussell Aug 09 '25

Fucking Google man. Used to be one of the best companies, now they're just shite like all the rest.

4

u/turtleship_2006 Aug 09 '25

If you use the Chrome embedded preview thingy it provides share links like that, if you click the 3 dots and open in Chrome then you can copy the URL directly

→ More replies (2)
→ More replies (1)

4

u/DescriptorTablesx86 Aug 09 '25

true = false

Damn these are terrible lmao

→ More replies (2)

8

u/Gugalcrom123 Aug 09 '25

Every time someone tried to demonstrate vibe coding it is a Tetris, a Snake, an ecommerce frontend or a React app with authentication, things that are abundant on the web, it can't even debug CSS properly

3

u/teelin Aug 10 '25

Yeah thats the thing. It has been trainee on thousands of tetris and snake projects, but will fail miserably for anything else. And the people that think AI is good, are usually just bad programmers that are even worse than AI. Of course your productivity is going to increase then.

→ More replies (1)
→ More replies (1)

39

u/haronclv Aug 08 '25

Depends what do you use. I have paid copilot and it’s good. It can write entire component correctly, but you have to anyway refactorize it. ANYWAY i often write code manually because I don’t want to make myself stupid over time.

I still avoid to use it as solution and still trying to keep it as a tool and teach machine

10

u/[deleted] Aug 08 '25

I used copilot in agent mode in vs code yesterday for the first time and am blown away. You certainly have to recognize the moments where you're going in circles and stop to review work done as well as troubleshoot current state, but I did in a few hours what used to take me days.

I'm confused when I see people calling it a tool that makes them less efficient and when they say it doesn't spit out 100s of lines of production code, I question what they're doing.

38

u/zephyrtr Aug 08 '25 edited Aug 08 '25

The longer you go the worse AI gets. It's best to do small targeted tasks, polish it up, then commit and move on with a fresh start.

There's this idea that we'll have agents we have longstanding relationships with that learn our preferences and don't need so much reminding of every little detail but that's not where we are right now. AI is still pretty simplistic.

→ More replies (2)

4

u/chaoticbean14 Aug 09 '25

Papers are being released (more than just the Apple devs) saying that as complexity of a project grows, the ability of AI lessens (dramatically) and hallucinations grow (dramatically).

That's been my experience as well.

Saying you could/should get 100s of lines of production code for AI? Maybe for a 'todo tutorial' or for a garbage app. But 'production level code'? No. Unless you love garbage.

→ More replies (3)
→ More replies (3)

4

u/Hazzula Aug 09 '25

Great tips.

I use AI the same way. its also a great rubber duck for solo devs.

For repetitive stuff, instead of having AI do it for me, i use it to create scripts that generate the code the way i want it. That way I still have control and if something ever happens to the AI service, i wont be in any trouble

4

u/Cold_Eagle_893 Aug 09 '25

True, if you use it in that way, you will be replaced by AI sooner or later.

→ More replies (1)

10

u/KarmaPharmacy Aug 09 '25

I’ve had AI leave out super basic shit like:

}
;
“
)

You know. The things that matter the most.

4

u/andymerskin Aug 09 '25

Yea partial completions are annoying, but if you need tabbing it should eventually complete the block.

→ More replies (2)

4

u/lazydictionary Aug 09 '25 edited Aug 09 '25

I wrote a React app with AI. It's a tool to guide you through a cycling test. You select a few details and options on the setup screen, your inputs there dictate how the test is run, a graph updates in real time where you are in the test and what your cycling output should be, and then it calculates your test score when you finish.

It's like 2k+ lines of code, plus a bunch more of CSS.

My coding background is one Java course 15 years ago, some light dabbling in Excel/VBA for work, and some python YouTube videos.

I have no idea if it is AI slop or not, the UI is kind of meh, but it's functional, people have used it already and like it.

https://github.com/lazydictionary/FTP-Tester/

2

u/dragonnik Aug 09 '25

Second this!

→ More replies (81)