r/developers • • 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.

0 Upvotes

71 comments sorted by

•

u/AutoModerator 7d ago

Howdy u/Professional_Sir3313, and welcome to r/developers!

A few tips for a post that gets good answers:

  • Use a clear, specific title (what are you actually asking or sharing?).
  • Include code, the exact error, versions, and what you already tried.
  • Heads-up: this sub does not allow external links in posts or comments. Share code and details directly instead of linking out.

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.

1

u/Groson 7d ago

Except when "everything is a nail" approach most people use with AI. Then it's very much inherently wrong

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.

2

u/fixermark 7d ago

This Is The Way. It is forever irresponsible to hand a solution to someone, claim it works, and not really understand it, and that fact hasn't changed in the era of AI. Doing that's not engineering; it's snake-oil peddling.

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.

1

u/Similar_Quiet 6d ago

I've been writing software for decades I don't know what MISRA, IEC 62304 are and I would bet most human software isn't written to be compliant.

1

u/fixermark 7d ago

You can definitely task an AI with auditing your code for MISRA compliance.

You have code, a pattern, and a mechanism for aligning the two, and LLMs with agents are really quite good at that kind of constrained problem domain.

But you are correct that AI is not constrained to MISRA-compliant solutions (because the training data wasn't) so you have to have it check itself and then check it yourself too.

3

u/thelongrunsmoke Mobile Developer 7d ago

You can ask the AI ​​to follow anything, but it will ignore it at random moment, given the nature of todays LLM. You need someone who actually knows the standard, and check that the AI ​​doesn't disable compliance checks, and check the code really complies with it. That's a quite a long chain of responsibility than human->linter, right? We spent decades, to remove any unknowns from our systems, and now add literal "infinite monkeys" back. For most mundane tasks, that's not so bad; it just creates more garbage for the sake of garbage.

0

u/fixermark 7d ago

Very true.

... So do humans. I've forgotten bits of MISRA more often than I care to think on. And the AI outputs reviewable code far faster than a human, so the cycle on correct and review is shorter.

-2

u/Neat-Medicine-1140 7d ago

again, its just retards misusing a tool.

They're like, you can bash your toe with this hammer and it breaks your toe. Its unsafe, you shouldn't use hammers.

No, retards should use hammers.

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

But it would be very stupid to oppose it because it objectively improved the quality of life of billions of people.

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.

  1. It's built off stolen, uncompensated labor (including GPL code!)
  2. It makes you worse at programming skills (and prevents you from becoming better at it)
  3. It breaks the communication and thinking processes necessary to produce good software
  4. It makes your own skills beholden to what a corporation wants you to be able to do
  5. It uses HUGE amounts of electricity and water (do NOT make an argument about golf courses -- you should be smarter than that)

And last but not least,

6. It doesn't actually improve productivity over the long run.

1

u/HealthyScholar8772 7d ago
  1. Probably true but so is half of GPL code at this point.
  2. Makes me worse at a skill I only do for fun now.
  3. Huh?
  4. Not really could always use local LLMs.
  5. I can produce an entire app in an hour or two that is like 45w-100w for opus 5.5. Playing games at 4K 120fps is like 200 watts an hour.
  6. Maybe some statistic says this because your average user isn’t great at it yet, but absolutely not true for me.

1

u/OmegaEpidex 7d ago

GPL code isn't stolen code or uncompensated labour. In fact, it's code whose author has explicitly granted other people permission to use, modify, and redistribute it.

1

u/slightly0ff 6d ago

Those are not all the terms of GPL..

0

u/fixermark 7d ago edited 7d ago

You ever steal something and have more of it out there than when you stole it?

Copyright infringement is not theft. Theft is theft. To forget that is to give Disney the right to put you in jail for drawing a duck they don't like.

2 and 3 are conjecture, 4 assumes you aren't running your model locally (and retraining it if you be so inclined), 5: electricity yes, water not really an issue (there were some bad-idea datacenter deployments. In general, DCs are deployed on water supplies that are not practically exhaustible any more than we could have exhausted them in the era of the steel mill).

6... Probably jury's out because we really want to know the maintenance story, and that's a 10-year question. But short term? I am incapable of seeing eye-to-eye with people who have tried it and aren't seeing obvious productivity gains. As in "What is your process that it's going poorly." It types faster than a human. That alone is worth the price of admisison.

1

u/Narrow-Low-3137 7d ago

Bullshit, bullshit, and more bullshit. 

1

u/BagMostlyWater 7d ago

Copyright infringement is indeed not theft -- I wasn't talking about copyright infringement. I'm talking about misappropriating the results of people's labor which was freely posted online without the understanding that it would be used to build a horrible machine to replace them. I'm talking about a type of "theft" that we don't have a good word for.

Fuck copyright, I pirate everything. But that's *NOTHING* like building a machine to replace the creator by scraping their work.

2

u/Neat-Medicine-1140 7d ago

theft of things freely posted online for open use? wat

0

u/BagMostlyWater 7d ago

for HUMAN use. But also, stuff being online doesn't mean it's "for open use".

2

u/Neat-Medicine-1140 7d ago

It was open for fair use, yes. Courts have ruled training AI is fair use, thats just how the laws are, sorry. Fight the laws maybe.

You say for HUMAN use, but pre-AI plenty of computers/bots scraped and used the data. Do you think google used humans to filter everything that was posted to index it and serve it back to you for money (via adsense)

Computers consumed most of the internet before AI too.

1

u/fixermark 7d ago

Did Kafka have the right to have his unpublished works burned when he died?

If not, I think there's a similar analogy to people putting things online and then experiencing unforeseen consequences.

Fuck copyright, I pirate everything. But that's *NOTHING* like building a machine to replace the creator by scraping their work.

Copyright infringement literally denies the creator the expected value of their labor. There's no daylight here; there's just "creators you like" and "creators you don't."

1

u/BagMostlyWater 7d ago

Did Kafka have the right to have his unpublished works burned when he died?

Probably! But that's not what happened, so we do have it. What's your point?

If not, I think there's a similar analogy to people putting things online and then experiencing unforeseen consequences.

Yeah? And it fucking sucks? What's your point?

Copyright infringement literally denies the creator the expected value of their labor.

Nope, the system of capital owning the means of production does that. I refuse to recognize the legitimacy of corpo stewardship of culture. They've shown they are irresponsible, desctructive, shortsighted, censorious, obsequious to authoritarian regimes, etc. I will continue to pirate everything to bypass the corpo system and compensate creators in other ways.

I actually have a consistent worldview with this stuff -- it's just not based on laws and property rights. It's based on inherent human rights and a commitment to the common benefit of humanity.

We're in an energy crisis. We can't fucking power our cities and cars without continuing to dump greenhouse gases into the atmosphere. Meanwhile, Capital has created massive systems requiring UNGODLY amounts of energy (some proposed datacenters are in the gigawatt range) in order to capture past labor output, to further disempower working people, make us dumber, control the flow of information. That's all bad.

Me sharing movies and TV shows and music with my friends so we can avoid their awful systems when trying to engage in culture is good.

1

u/fixermark 7d ago

I think we are largely in agreement.

You can pirate AI and run it locally too.

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/fixermark 7d ago

That was already happening. I could reach into GitHub and pull out half-finished bad ideas by the truckload long before general-purpose AI models got published.

3

u/gonzodamus 7d ago

Oh there were a lot, but the amount has absolutely exploded. Take a look at Steam releases. The amount of games being put out is increasing dramatically. Hell, look at Github metrics. 4 million repos made in Oct 2024, 6 million in Oct 2025, 10 million in 2026. It's wild.

I'm not even saying that's necessarily bad. I think there's a lot of great potential in people being able to say "I need an app, lemme make it real quick". Like, my wife can make a quick thing to convert MP3 to WAV instead of using one of those awful websites. That's neat!

But it's just so much. And so many people are like "Claude make me an app I can monetize". And then they promote it like crazy. And it's maddening.

0

u/[deleted] 7d ago

[deleted] — view deleted comment

1

u/AutoModerator 7d ago

Your post or comment was removed because r/developers does not allow external links. Please share the content or ask your question without linking out.

If you think this was a mistake, message the mods.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

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.

1

u/Professional_Sir3313 7d ago

True and based

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.

1

u/fixermark 7d ago

Agreed. Software engineering is likely to move from actually writing code deeper into holding two problem domains in your head at once (what someone wants to do and how a computer works) and dragging the two together until they touch.

That was always someone's job; they just didn't generally have "junior" in their title. This ecosystem may push new responsibilities onto juniors / flatten the capability curve across junior, senior, and staff.

1

u/MedusasSexyLegHair 7d ago

This is true. And it also gives us time to spend better fleshing out the design and requirements, including things like security, performance, accessibility, and so many other things that were often more of an afterthought when we didn't have capacity.

The developer who uses it to improve the software and to design better software is less likely to get made redundant than one who uses it to crank out thoughtless slop.

0

u/ChaosHonorum 7d ago

All professional developers use AI. It’s as integrated as version control and has been for some time. 

2

u/BagMostlyWater 7d ago

This is not true *at all*.

0

u/ChaosHonorum 7d ago

You’re right. Some people still raw dog it without version control. 

2

u/BagMostlyWater 7d ago

No, basically no one does that.

AI is far, far less integrated on the majority of projects than version control. You're massively overstating AI adoption.

0

u/ChaosHonorum 7d ago

Sure. 👍 

0

u/Ordinary-Chemist9430 7d ago

He is telling the truth. There are quite a few big corps that dont use ai due to copyright and data protection reasons. As soon as this is solved for the companys the Adoption happens quickly.

1

u/ChaosHonorum 7d ago

I hear what you’re saying. I just find it very hard to believe there is a tech enterprise out there, that doesn’t have at least one team with Claude subs or equivalent. If you could name any examples that would be helpful. 

1

u/Ordinary-Chemist9430 7d ago

I wasnt precise enough. What i meant was quite a few dont use agentic coding but only chat features in the browser. And i mean only european companies. They have to follow the law to not give out personal Information to us companies. Also they want to protect their ip or their company secrets from us companies. Many companies dont get the neccessary contract from ai companies to meet legal requirements. Some companies also just dont trust the ai companies. And they really cant because of some stupid us regulations.

So the companies that flat out use ai either dont give a shit about laws, have a proper separation of said data, dont look at their software as their ip, only use the chat ais (sometimes even only for selectes employees) or have some form of local ai. Local ai means smaller models and on prem hardware or they partnered with cloud providers that at least SAY they dont extract the data out of the eu.

I wont tell you the names i know because i think it shouldnt be public. Also i believe that they will adapt pretty soon because there are solutions for the data protection and privacy stuff if your pockets are deep enough.

1

u/MedusasSexyLegHair 7d ago

Even my small company keeps it separate from customer data. It can only access the generic generated data fixtures in our local dev environments.

For debugging problems with specific combos of customer configuration and data, we can describe the situation to it and ask it to generate some SQL queries and/or test paths that we can manually run against the customer test sites to determine the problem. And it can generate generic fixtures that match the structure but with made-up data.

We also have optional sandboxes and devcontainers with even more constraints.

Our European teams use very similar setup for AI dev on the stuff they work on.

Any serious company or organization should have separate environments and security stuff like that. Though I know that some probably don't.

1

u/ChaosHonorum 6d ago

Agreed completely. I’ve seen the same with small to large enterprises across EU.

0

u/ChaosHonorum 7d ago

The laws like DORA and GDPR do not prohibit using the likes of Claude subs or OpenAI subs, that’s a misconception. Even the most laggard enterprise I’ve worked with in the EU, have copilot subs as a baseline for about a year. 

As for local ai, that can be delivered through local browsers or another harness. The harness doesn’t really matter.  If AI is being used in the workflow, then it’s AI assisted coding.

How agentic it is, is another question, based on how and where the human is placed in the loop and how autonomous the workflow is.

However, my original point is that suggesting professional developers are not using AI in some form, lacks credibility. And anyone who works in industry knows this. And I don’t think we disagree on this as you’ve stated yourself - they use it through the browser. 

1

u/Ordinary-Chemist9430 7d ago

Yes, we dont disagree on that the companies at least have some form of lighthouse project or partial rollout. So not all have copilot available for every developer. Especially consultants regularly are excluded from using internal ai and the other websites are blocked.

I also think only using a website is already very outdated.

With Microsoft you get at least the contracts easily. Though the ai is not the best. Oai and anthropic only talk to you if you are big enough (at least it was like that half a year ago). small companies didnt get the neccessary auftragsdatenverarbeitungsvertrag or it was a lot of work or waiting and at least with anthropic its still not fully gdpr compliant. And without it you have to be very careful which data you put into the ai. Maybe its better now. In may it was still a mess.

Also even if the companies give an avv its not certain that the ai companies dont use the data for shady shit. or maybe the us governmemt forces the companies to extract data without telling the customer. And its not only agent orange we distrust, its just the past us legislation that makes a lot of people wary.

→ More replies

1

u/slightly0ff 6d ago

> The laws like DORA and GDPR do not prohibit using the likes of Claude subs or OpenAI subs, that’s a misconception

Can you let AI access customer data? This does seem like a huge GDPR breach. Even if it's a separate cluster and Anthropic pinky promises to not process them, you have to inform the customer and prove integration is "necessary for the service".

→ More replies

1

u/bluebird355 6d ago

You guys are coping and it's ridiculous

1

u/[deleted] 7d ago

[removed] — view removed comment

1

u/AutoModerator 7d ago

Your post or comment was removed because r/developers does not allow external links. Please share the content or ask your question without linking out.

If you think this was a mistake, message the mods.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Wisdom_Wizard_Waldo 7d ago

EDIT: Fine i remove the link you piece of shit bot 🫩 Free flowing information on the internet my ass.

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.

So your argument is that extreme exploitation, and countless deaths and injuries are acceptable risks for using AI to develop e.g. use in critical systems like flight guidance, power monitoring, etc. ???

...But it would be very stupid to oppose it because it objectively improved the quality of life of billions of people.

OK... How has AI objectively improved the quality of life for billions of people that couldn't be accomplished by some other means i.e. we must have had AI to do it?

Because from what i can see, it's made the majority of people more miserable even those who don't use it (higher power $ bills) + industry experts, CEO's, they're all saying there's a non trivial chance AI could end human life as we know it... that's an improvement is it?

But on to the main point...

Can someone explain to me what’s wrong with using generative ai for programming

Nothing?

So long as you're actively reading the output, understanding the changes, and you have full agency and accountability doing the commits.

But if you are not doing that, and relying on agents or "vibe coding", then yes i have a problem with it. Why?...

Let's take an infamous case that's been in the news recently, Riemann was proven by Claude. Be a bigger deal if it was found false, but anyway.

Turns out most of the 17.4 million lines (250,000 pages) of what it produced, was absolute slop / completely unnecessary.

OK, now with that in mind, let's bring it back to the realm of code.

You're vibe coding / using agents, and you ask them to fix issue X. AI goes away generates the code, runs it through CI, does the commit. No code review.

Suppose just like the case with Riemann, there was redundant slop in that commit. What impacts do you think that could have?

Security: imagine 20,000 lines of unsecured endpoints

Flexibility / future development: 20,000 lines of useless functions / variables. Odds are there's going to be naming collisions.

Performance: As fast as computers are they still need time to parse / execute. It's 20,000 lines for this commit, but nothing stops there from being 20,000 lines next commit or even 40,000 for that matter. You're vibe coding / no oversight remember...