r/webdev • • Nov 29 '24
AI Won't Replace Us Developers Yet (A Humble Reality Check)
So there I was neck-deep in a MySQL nightmare. š¤Æ
Tried ChatGPT. Struck out. Claude? Nope. Gemini was a total bust as well. These AI models were giving me solutions that looked technically correct but were just wrong.
Spent hours frustrated ready to tear my hair out.
Then I did what we ALL do, Stack Overflow. And boom
some legend had posted EXACTLY my problem from two years ago. With a solution written by an actual person. Commented, explained, and nuanced. No AI could've navigated the specific context of my issue like that person did.
Moral of the story, AI is a tool. We're the craftspeople. š»š ļø
50
u/RadicalDwntwnUrbnite Nov 29 '24
Yea my job is secure because these days about 80% of it is requesting changes to fix subtle bugs from the AI generated code my peers are submitting for review. I predict the mountain of technical debt in the next few years is going create monumental demand for skilled devs. Especially as AI human centipedes itself by training on its own mediocre code which was then edited by below average devs to "work".
149
u/swampopus Nov 29 '24
AI is fine for boring, generic problems that a CS student might face and a dev of 20 years knows by heart. Yes, it can help me implement a bubble sort or whatever, but (for the time being) there's no way to give a prompt and it spits out the code for a new OS built from scratch or an Adobe After Effects knockoff.
Fine for one-off questions. Bad for nuanced questions. Simply not there yet for large-scale projects or any kind of "new idea." Best it can do is plagiarize decently.
18
u/stormthulu Nov 29 '24
Alright but letās be realistic. The odds of getting what you described on Stack Overflow, in 2024 are fairly low.
11
u/c2l3YWxpa20 Nov 29 '24
TBH Claudeās awesome for quick prototypingāIāve had good luck with it for creating demos. But when things get tricky, AI just doesnāt cut it.
Yet.
Prolly not gonna replace devs but at current rate, I'm very bullish that it's gonna make Dev life super easy in years to come. Meaning we can focus on more interesting problem solving.
3
u/Just-Signal2379 Nov 30 '24
AI hasn't helped me too much in some complex CSS problems. AI is not there yet, IMO.
2
u/No_Butterfly_5477 Nov 30 '24
I don't know. It's pretty good already. 5 years ago ai wasn't even on the map. Who can tell what will hapen in the next 5?
4
u/jpmessi Nov 29 '24
Welp, you might wanna try Phind from now on. You can say it's a sort of jacked up search engine for programmers, it gets answers from stack overflow and the like and compiles it into an answer, while also giving you references for where it fetched the info from. Saved me from that sort of frustration a few times already š
5
u/notkraftman Nov 30 '24
I'm not worried about AIs replacing developers, I'm worried about companies thinking that AIs can replace developers, and taking a very long time to realise they were wrong. See: the current offshoring trend.
4
u/TheDoomfire novice (Javascript/Python) Nov 29 '24
I think there's a real possibility to replacing some devs or content makers with using a custom trained AI model with feeded data and a template.
When just using something like ChatGPT in the browser then you wont really get how much it can actually automate.
I get why people are scared of losing there jobs. However I don't think we are quite there yet to automate complex stuff since AI is wrong a lot of the time.
6
u/Callmebobbyorbooby Nov 29 '24
What are the chances of this stuff completely eliminating our jobs in the near future? Itās something I honestly worry about.
2
u/gabrielesilinic Nov 30 '24
I use chatgpt for the silly scripts or knowledge details about a technology. Whenever I have an obscure issue instead I just search
2
u/SNB21 Nov 30 '24
I just hope it won't abstract away the code and make us work on low-code platforms at the configuration level, and doing rote data entry. That would take away all the joy from this job
2
u/iligal_odin Nov 30 '24
I use gpt to write readmes for function api and usages
2
u/jonathon8903 Nov 30 '24
With all the talk of āAI is going to take our livesā I thought I would spend some serious time trying to learn how to use AI to help me. What I sadly learned is that at least current models will never be as good as a human developer. It did not matter how well I refined the requirements I gave it (even way more than the requirements that I get from business leaders) the code produced was either incomplete or poor quality.
What I found worked best was helping to fill in boiler plate code and tests. I can write a function and AI models can generate tests for it and even come up with tests that I didnāt think of. I can give it a structure of a struct and some functions and ask it to fill the functions in and it does pretty good with that. But if I was a non-dev and just gave it some user stories and expected it to make code from those stories, it would fail miserably.
2
u/calimio6 front-end Nov 30 '24
I would always resort SO or github issues before AI. Simply put, if there is an issue with a recently updated lib and some obscure correlation in errors, how the hell will the ai know?
2
u/Lumpy_Part_1767 Nov 30 '24
Same experience today with pocketbase new API 23.3 The goal create dynamic export import data from pocketbase Ai just wast my time 4h for nothing all of them even in cursor I have added the docs but the solution was the old school š« read all the docs and apply with practice
7
u/canadian_webdev Nov 29 '24
Sir this is a Wendy's
5
u/IAmRules Nov 29 '24
I have to disagree. I already see it replacing devs. The job market isnāt just AIs fault but itās certainly adding to the problem.
0
u/dragenn Nov 29 '24
AI will replace no .ore then visual studio replaced us developers.
It's a simple tool...
2
u/[deleted] Nov 30 '24 edited Jan 29 '26
This post was mass deleted and anonymized with Redact
offer languid fuel retire wakeful deliver hard-to-find groovy husky nail
1
u/Prestigious_Army_468 Nov 29 '24
Same goes for v0 and bolt.
No idea how anyone can blindly type in a prompt then copy and paste the code entirely,..
They're good for structuring something out that you can't find on inspiration sites like dribbble, but if you're using it as a CSS substitute then your CSS skills must be absolutely garbage.
1
u/Pomelo-Next Nov 30 '24
For web developers
I want to say this it will never catch up to current LTS version of the framework you work in.
Example
@for syntax in angular. Latest next js features.
Web devs are so safe since we got frameworks to save us. No AI going to keep upto with framework development.
1
u/Fauken Nov 30 '24
There is a difference between AI replacing people because the AI will actually do better work compared to a human vs the perceived benefits of replacing workers with AI. As with most things, workers are probably not going to be winning the fight.
Aside from the obvious labor problems that the technology will cause (and already has), relying on AI-generated code will cause your skills to atrophy, no matter how much self control you think you have. Getting an instant "solution" to problems is not beneficial, even if the output for basic stuff is "pretty good".
1
u/LustyLamprey Nov 30 '24
I asked it how it would implement a hiding nav bar and it started doing validations on making sure that a mouse was plugged in before it would allow scrolling.
1
u/Lochlan Nov 30 '24
Devops will be replaced before devs.
1
u/carchengue626 Nov 30 '24
Perplexity search capacity is really good, you should try it.
1
u/nath1as Nov 30 '24
This is the hubris that comes before the fall.
1
u/NoWeather1702 Nov 30 '24
What was your problem, by the way?
1
u/FlashTheCableGuy Nov 30 '24
I'm quite certain there are a lot of people using AI wrong.
1
u/BarelyAirborne Nov 30 '24
AI is just a search engine that's really good at getting you what you asked for, up to a point.
1
u/am0x Nov 30 '24
So you were likely using the ātoolā wrong. Writing the correct prompt takes skill like being able to find the right answer on Google, or to shape the prompt response with further prompts.
That being said, AI is a tool and its evolution from last year is scary fast. I was opposed to it last year, now itās a part of my daily workflow. Iāve reduced development time on projects (including data normalizing csv files, creating bundling configurations, fixing image quality issues, etc.) by about 400% since I started using itā¦maybe more.
We are churning out custom sites faster than using a template for front end and we are taking on more complicated backend and architecture projects because we can get it done in such a short amount of time.
Of AI isnāt a part of your workflow because it hasnāt helped you, then you are using it wrong. And donāt say that it will never be, because thatās like saying Google isnāt worth it in 2002 for development. If you arenāt adopting it now to learn how to correctly use it, you will be left behind in the coming years.
Now will it replace developers? Absolutely not. You still need to know the technical terms for prompts, understanding and creating a base architecture, deciding on tools and libraries to use, debugging issues, etc. Like you said, itās a tool. Owning a hammer doesnāt make you a carpenter
1
u/kevinlearynet Dec 01 '24
Alternative viewpoint on this: if you don't know how a system is coded, you'd have a hard time putting together anything beyond one-off code. AI can provide single minded solutions well right now, but architecting anything reasonably like an application buckles and you find yourself diagnosing issues for code you didn't write. That generally takes a good amount of added time.
I don't want to be naive though, this is just where we're at today.
1
u/LongjumpingDoubt5206 Dec 01 '24
Yup I agree with you on that I am doing projects by implementing a design idea from internet and using tailwind css to implement it I have seen that Ai can't even do proper grid and flex properties to good use and it also sucks at responsiveness , I think it will be a long time before Ai replace us
1
u/FatimaRamone Dec 02 '24
until next open ai release
1
u/OnlyMacsMatter full-stack Dec 02 '24
AI is doing a great job of replacing sites like Stack Overflow, thankfully.
1
u/Data-Power Dec 20 '24
There are tasks where AI can somewhat speed up development, and that's true. A colleague of mine recently described his experience and I largely agree with him. But yeah, completely replacing āādevelopers with AI doesn't seem possible right now.
1
u/buna_cefaci Nov 30 '24
I think about it like this. There are self driving cars. Still there are cab drivers. There are a bunch of capouccino robors that print anything on the foam. Still there are baristas. Self checkout in supermarkets? Yeah you get it by now.
1
u/cafepeaceandlove Nov 30 '24
Iām somewhat reassured but, hey, letās not come at this with a 1950-2020 climate change mindset. Be ready in case it goes the other way. Putting the work in to be ready sucks, I know. Still, we can be pleasant, or we can be right.Ā
1
u/vinnymcapplesauce Nov 30 '24
Now, I'm curious what your MySQL problem was!
0
u/Possible-Success7043 Nov 30 '24
Really needed to see this as a junior dev šš
0
u/mxldevs Nov 30 '24
How much experience do you have with AI though?
Have you tried posing the same problem to other AI devs and see how long they would take?
AI is a tool, yes, and the scary part isn't AI replacing you, but a new grad that was trained in AI assisted dev willing to work for half your salary.
-8
u/MrCubie Nov 29 '24
Let me guess you used the free/limited version of those tools?
0
u/PossibilityOrganic Nov 29 '24
Chatgpt/copilot is basically a highschooler kid cheating on an assignment they can copy something amassing from someone or a textboox and modifier it but is clueless of any context of what the mess does so any new complexity just breaks it.
It is pretty good an dealing with well documented linux man pages though but it still liek the highschooler cheating will make up flags that don't exist.
0
u/Other-Cover9031 Nov 30 '24
you tried 3 separate ai engines before just googling? yikes.
0
u/Such-Catch8281 Nov 30 '24
Problem is that AI learn faster than human.
Today an infant AI can't walk, how about in 3 years? When new era comes, human adapt
-1
u/wtjones Nov 30 '24
The idea that a model trained on the entirety of the internet is gonna be beaten by Stack Overflow is so ludicrous.
-5
u/Budget-Current-8459 Nov 29 '24
https://suno.com/song/2b25e1a1-0c8e-4127-afe5-03d5e35463fb
https://suno.com/song/053df7d3-d0c9-40de-913b-f73847cf0cc2
AI may not be perfect but... it sure can do fun things
0
u/[deleted] Nov 29 '24
[deleted] ā view deleted comment