r/developers • u/Professional_Sir3313 • 7d ago
General Discussion Can someone explain to me what’s wrong with using generative ai for programming
I've seen a lot of people who are completely against the idea of using AI to develop, but I've yet to hear an actually good argument against it. To me, it just seems like one of the greatest advancements ever for programming. The people against AI programming are just like the Luddites who opposed technological advancement in the textile industry. The Industrial Revolution, for example, is undeniably one of the greatest achievements in human history, and yet it was built on the back of European colonialism, and because of it there has been extreme exploitation and countless deaths and injuries. But it would be very stupid to oppose it because it objectively improved the quality of life of billions of people. Before you start name-calling me an AI bro or something because you have no real argument, I'm not one of those people who think we should start using AI to generate art and shit.
•
u/AutoModerator 7d ago
Howdy u/Professional_Sir3313, and welcome to r/developers!
A few tips for a post that gets good answers:
Join the r/developers Discord!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
5
u/aj_marshall 7d ago
There's nothing inherently wrong with it, but it is a bit like driving a Ferrari.
If you just got your driver's license, maybe now isn't the time. You'll be more likely to make bad decisions and get major things wrong.
If you're an experienced driver, though, have at it!
4
u/ninjaluvr 7d ago
There's nothing wrong with using the tools available to you.
4
u/Groson 7d ago
Using it isn't the problem. Blindly using it and treating the output as gospel without checking it or understanding it is.
4
u/thelongrunsmoke Mobile Developer 7d ago
Implicitly broken software claim lots of lives and causes serous financial losses, which is why we develop specialized standards like MISRA, IEC 62304, and others. They specify how software should be writen to prevent all sorts of losses, for example, due to an incorrect symbol or a wrong state, by reducing the risk of such errors. AI don't follow any of that, and it requires significant effort to ensure it meets requirements so that the system can even pass an audit. A simpler example: you download an app, make a purchase...and your credit card information ends up on a third-party server because no one on the development team tells the AI that this is a bad thing. You've seen graphs of the exponential growth in software vulnerabilities in recent years, right? Two mechanisms are at play here: AI is getting better at detecting vulnerabilities, and is making more frequent mistakes that lead to the creation of these vulnerabilities, at the first place.
2
u/run4runner 7d ago
Problem: someone who doesn’t understand coding, doesn’t go through any type of code validation or secure coding best practices has AI do all of the work and trusts it implicitly, while we all know AI gets thing wrong all the time.
2
u/MadDonkeyEntmt 7d ago
For one I think there are probably a few devs at this point who lost their job and feel like AI is a big cause. I question how many of these "AI layoffs" are Ai and not just overhiring + bad economy but I could see a lot of those people being pretty strongly against AI.
It also has just become really hard to have a nuanced discussion around the actual AI capabilities anymore. You'll get pro AI people who are absolutely certain that current AI writes better software than anyone and anybody who thinks otherwise is simply using it wrong or being biased. Then you get anti ai people who just think it's immoral to use AI at all. Makes it hard to discuss actual balanced approaches on how to incorporate it into a work flow.
2
u/mc_pm 7d ago edited 7d ago
It's only a problem if you don't understand what it produced.
2
u/RoyaleWCheese_OK 7d ago
"It doesn't work and I don't know why" then "It works and I don't know why"
Thats your problem.
2
u/qwerty519915 7d ago
Microsoft was out for 24 hours. That’s because no one knew what broke.
2
u/BagMostlyWater 7d ago edited 7d ago
You can (and should) reasonably oppose the way the industrial revolution happened. If you don't, you're kind of a monster.
Anyway, AI programming is bad because.
And last but not least,
6. It doesn't actually improve productivity over the long run.
1
u/TotalBeginnerLol 7d ago edited 7d ago
I think a lot of people are just sick of slop “I made an app” posts from people who have no business making apps. Also there’s the AI haters who automatically hate anything vaguely related to AI… those people don’t really understand nuance generally.
1
u/J_Galang 7d ago
Nothing wrong. Its a tool. Depends on how its used and the proficiency/taste of who uses it.
I like to think of it as a skill multiplier. If you're at skill level 0 you'll probably produce half-baked slop.
But if you're coming into it with experience it'll x10 your workflow.
There are days where I miss the good old days of building every part of an app by hand, but these tools are here and they're here to stay.
Resisting adoption is like being a mathematician refusing a calculator when they were first invented.
1
u/FoaRyan 7d ago
I'm not making an argument against it, but I do find a lot of use cases are things that could already be done easily before we had generative AI. I'm more of a "use the appropriate tool for the task" person/developer, and feel that excessive automation is often just sweeping bad processes under the rug.
However, in the business world, sometimes this is necessary, and always has been. So that's why I never argue against the existence of or use of genAI to get things done. But we (or more properly executives & responsible stakeholders) should be more conscious of the reasons for using it, and the impacts to humans.
1
u/CornMaker6 7d ago
People are generating massive amounts of code without reviewing or understanding it, it can lead to obvious vulnerabilities and bugs. Arguably a people problem because if you use it effectively it can be a massive time saver, but people are lazy and stupid.
People are also understandably against it because they went from writing code which they may have enjoyed to their job being talking to a chat bot.
1
u/CommercialEase7333 7d ago
I guess biggest downside is your codebase grows so fast and you're not in touch with the architecture, so you can have explosive bugs lurking that could have been avoided otherwise.
1
u/guttanzer 7d ago
That's like asking, "What's wrong with using a back-hoe for digging." Both are power tools, and like all power tools, they can build or destroy more quickly than manual tools. The issues are with how they are used, not that they are used.
1
u/0x645 6d ago
AI companies stole the knowledge embedded in their models. Their bots read and ingested content from thousands of programming forums. Later, they began signing agreements with sites like Stack Overflow, but initially, they simply took whatever they wanted. Furthermore, it is not entirely clear whether Stack Overflow and similar forums have the right to sell their users' knowledge.
1
u/slightly0ff 6d ago
The problem with AI is that it's way beyond just a tool for programming. It is attempting to automate everything while at the same time collecting all the data. It can not only replace your job (maybe not today, but you can see a trend), it also cheapens your knowledge and skillset in the process
1
u/gonzodamus 7d ago
For me it's because the internet is being flooded with low effort projects that aren't properly thought out.
Remember the first coding project you made? Mine was a really basic calendar webapp that I was super proud of. I shared it with everyone. And it was trash, objectively. Because of course it was, it was my first project. But I was still psyched and shared it everywhere. I did the same with my second project when I finished it months later.
Because of AI coding, people are able to make those first projects very quickly and easily. Which means all these people who have never touched code before are now super proud of their first projects and sharing them everywhere. But instead of learning from the first one and taking months to finish the second one, they're able to do the second one the next day or so, and they get excited and share it out. Every space I'm in is innundated by people sharing their new apps, and they're all "first app" quality, but with the AI sheen. And of course, half of them are asking for money.
I'm happy everyone is able to create, but I'm sad how quickly it's turning into an attempt to monetize off of low effort apps.
0
u/Neat-Medicine-1140 7d ago
ignore the idiots, use the tools. you shouldn't care what a bunch of objectively retarded anti-ai people think.
If they really cared, they'd be fighting capitalism because its the one that wields AI as evil. Its just easier for them to fight Pro-AI humans, because they have access to us.
0
u/PLAYM3T4 7d ago
I think they are just afraid of being made redundant, the thing is, nowadays, we as software engineers are the bottleneck. But I'm still of the opinion that domain knowledge is king, and AI with no context and/or guidance is not replacing experienced people offering aforementioned. But this might not be the case even in the near future. Basically, it's a bit of elitism plus internal panic about job security, but then again, that's life.
0
u/ChaosHonorum 7d ago
All professional developers use AI. It’s as integrated as version control and has been for some time.
1
u/[deleted] 7d ago
[removed] — view removed comment