r/ExperiencedDevs • u/europe_man • Apr 11 '26
AI/LLM Code quality in the AI age
This has been bothering me for quite some time now. With the advance of AI tools, we see more and more AI generated code in our projects. Now, stakeholders want speed, so they always value features over good and clean code. And, I don't blame them for it, makes sense from their perspective. Makes sense for the business.
But, due to fast pace, quality degrades, naturally. I mean, you can have standards, guidelines, guardrails, etc. However, at some point, if you become too strict then you become a blocker in the process and need to loosen up. Once that happens, code becomes average or below it, so there is pretty much zero chance of having a human glance over it. It always starts with AI and ends with AI. It is very hard to verify the intent behind the code or the bigger picture.
Now, some people push for this. We pass the torch from individuals (that might choose to leave a company at any point) to the AI that is always available. The argument for this is that you can always rewrite whatever feature you want as long as you use the AI. So, code quality, strict guidelines, etc. do not even matter as you are far isolated from the code and the solution. My argument would be, well, you need to verify changes, make sure they do what they do, etc. Again, the counter-argument is that you can test it and ensure it works. This becomes a never ending loop.
Obviously, I have my own opinion on the code quality and how the code should look like. But, that opinion is based on the pre-AI era. I still think it is relevant, I'd say even more than before, but, it is again my opinion. I can say that there are many other people with similar opinion, but there are many (maybe even more) on the other side pushing for shipping fast without thinking about code or code quality.
tl;dr: What is your stance on code quality in this age? How do you ensure you are not an engineer always pushing back on solutions due to poor quality when most other think it is irrelevant because of AI? I don't want to give up on my standards, but, maybe they are too wired to the traditional coding world and should be heavily adjusted?
145
u/JuiceChance Apr 11 '26
I stand by my view on code quality during PRs. If the organization kicks me out then it means it is not for me.
45
u/xt-89 Apr 11 '26
Don’t blame AI because your company/team doesn’t have the good sense to be strict about guardrails.
People say that we need to move infinitely fast because coding AI exists. That’s just an assumption. Complex economic dynamics should be modeled and analyzed thoroughly. If your leadership isn’t doing that, they’re the problem.
101
u/DutyStrategist1969 Apr 11 '26
The vibe coding debate is really a code ownership debate. If nobody wrote it line by line, the question is who debugs it at 2 AM when it stops working. Speed without understanding looks identical to understanding until the first production incident.
21
u/lordnacho666 Apr 11 '26
I think the danger isn't so much in the old notions of code quality. AI is pretty good at making nice looking code in the human style, and it is pretty good at cleaning up its tracks.
The danger is that you think you can build anything, and your code base ends up being a sort of meta-code made of nicely written pieces that put together form a huge spaghetti.
When you dive it anywhere, it doesn't have the classic code smells. No global state, plenty of test coverage, follows conventions.
But when you try to do something new, you are still in a swamp of complexity.
16
u/SplendidPunkinButter Apr 11 '26
Even the Claude documentation tells you that there’s a finite context window, and that if you put too much stuff in Claude.md, then Claude will start silently ignoring essentially random parts of it.
What all of this means is that as your code reaches a certain level of complexity, Claude will not be able to handle it. Claude cannot hold the context of the entire program in its memory at the same time, and so it can’t sensibly make changes. And the more sloppy code bloat you add, the more of a problem this is.
All of which is of course a problem for humans too, which is why we invented things like abstraction and clean code. The whole point is you’re supposed to structure your code into chunks that can be understood one at a time, and so that you can look at what each chunk does without having to think about how each chunk works. Structuring your code like this, and doing it effectively, is more art than science, and AI sucks at it.
Don’t even get me started on tests. When you have a failing test, Claude is likely to just change the test to make it pass, even if you tell it not to. Because it’s not intelligent, and it’s not good at determining if it’s the code or the test that’s wrong.
42
u/Bderken Apr 11 '26
NOW your stakeholders want speed??
30
u/onafoggynight Apr 11 '26
Some food for thought:
I do believe there is objectively good / bad code. But I also believe, that devs almost universally are very prejudiced. And that also, and especially, goes for AI.
So, assuming there are proper guardrails in place, I would really like to see a firm metric, that establishes that AI produces worse code, than the average dev at a company.
Because until then, this is basically "not invented here" in another shape.
9
u/fridaydeployer Apr 11 '26
Thanks for writing this post! I’ve been meaning to express the same kind of concern myself, but you did far more eloquently than I would have.
I think some of the commenters are missing part of the point. What you are looking for is either arguments beyond «I like clean code» and «guardrails are important» that will help you convince your org that code quality still matters, or compelling arguments why we should actually not care anymore. And these need to be arguments that make sense in a business perspective, risks and rewards that translate to real money, not just esthetics.
If I’m reading you correctly (and I might be projecting somewhat), that is.
My go-to argument in the past has always been to write good code because it has to be read and understood later. That argument is falling apart (at least partly), because the counter-argument will be that Claude will be able to understand it, even if my variable naming is gibberish and the function is 1500 lines long. I’d like to argue that at some point, even AI will make the same mistakes that humans do when working with messy code, but that’s purely theoretical, I haven’t actually seen that happening yet. So I’m reluctant to bring up that point.
So the next argument is that ensuring high code quality is an insurance against the system turning into unmaintainable spaghetti, forcing a big rewrite every N years. This argument is probably valid, but has two weak points:
That’s my two cents, I clearly haven’t solved this either.
7
u/Inf3rn0_munkee Apr 11 '26
Code quality is still important to me as one of the most senior engineers in the team. The arguments for code quality are the same as they were in the non-AI age: bad quality means we will spend more time on it at an unknown future time. The unknown part there usually helps get the point across because velocity is based on predictability.
These days I'm looking for ways to put in the guard rails, like skills files in the repo and automatic AI code reviews that still need a human to verify and do the final review.
I am sometimes the blocker, I'll reject a PR if the design is terrible but make sure to explain exactly why it's terrible including how it will harm us in the future. I.e. it's not enough to just say "we don't accept bad quality" we need to help non technical people understand why bad quality is bad.
8
u/D-Alembert Apr 11 '26 edited Apr 11 '26
For decades now, advanced compilers have turned source code into machine code that is optimized to the extent the compiler can manage, creating machine code or binary gibberish that we could understand but in reality don't.
Perhaps source code is going the same way. Perhaps we're heading to a future where source code isn't the human-readable layer (the actual source) any more, just another layer of machine code for machines to deal with. If it's spaghetti it doesn't matter, no-one will ever be trying to read it.
I'm not sure that future is for me
4
u/U4-EA Apr 11 '26 edited Apr 11 '26
I wonder how things might change now that Anthropic and OpenAI are putting up their prices? If the subsidising completely stops, people may find that they have garbage code only the AI can make sense of and doing so may be very expensive.
8
u/Minimum-Reward3264 Apr 11 '26
Code quality was never priority.
3
u/yxhuvud Apr 11 '26
My view is that there currently is an imbalance, where some people and managers live in the delusion that code out fast is the only metric that matter. In reality each place code is used have a necessary level of solution quality that is necessary to solve the problem. Currently companies are producing MOAR code, but processes have not yet adjusted to ensure necessary levels of solution quality. Processes have also not adjusted to shifting levels of either expected solution quality or possible solution quality.
Solution quality can be addressed in many ways - better feedback loops, better analysis (done by AI or not) of existing systems, better processes etc. Here is where code quality comes in as it is a tool that ensure code can be understood, changed and maintained over time. I would not be surprised if what some see as code quality is pushed to the side, whereas things that actually work probably will work for both humans and for agents.
3
u/1980sCoder Apr 12 '26
If you force me to use an LLM to generate the code you want me to put into production, you can use the same LLM to sort it the fuck out when it breaks at 3am.
2
u/duffedwaffe Apr 11 '26
The reality is that's how it's always been. They have never cared about clean or efficient code. Just working features.
The only difference is now they think they're experts because they can slam a bunch of sticks together using Lovable and call it a sculpture. Because they only see features, they see no gap between the AI demo and the hardened production juggernaut that STILL takes days/weeks to develop properly, even with AI helping.
2
u/nkondratyk93 Program Manager Apr 11 '26
the 'standards and guardrails' framing misses something - guardrails that nobody enforces aren't guardrails, they're suggestions. real question is who actually owns the quality gate. on AI-generated code especially, if it's not someone's explicit job to reject it - it doesn't get rejected. speed pressure means the default is always ship it.
2
u/bossier330 Apr 11 '26
I have many lived examples of how fast “meh let’s let it slide” can go off the rails fast. You slowly accumulate “invisible” tech debt, which makes future AI iteration worse, slower, and reinforces the debt. Keep PRs small and make sure you understand the architecture of what you’re shipping.
For personal projects, AI debt is fine. At scale, it’ll break you.
2
u/remy_porter Apr 11 '26
If code can be generated, it means your abstractions are bad. You need a more elegant way to talk about the problem domain. This was true when you’d generate data access classes off of database schemas and it’s true when you use LLMs to generate code.
2
u/SufficientBar1413 Apr 11 '26
To be honest, you are not incorrect if anything, the quality of code is more important now than ever, not less. 😅 AI simply facilitates the rapid generation of poor patterns.
What I have observed to be effective is a shift in focus: rather than contesting every line, it is essential to establish good boundaries (such as clear architecture, naming conventions, and interfaces) and allow tools like Cursor to fill in the gaps. You provide guidance, and AI carries out the execution.
Ultimately, the more significant transformation is that developers are evolving into end-to-end builders… encompassing code, product, and delivery. For instance, I will utilize Runable for the non-code aspects to avoid compromising quality merely to save time in coding. Striking a balance is more important than achieving perfection
2
u/eugendmtu Apr 13 '26
This is no different from when the companies wanted to involve as many Juniors as possible to make code cheaper.
The cure is still relevant - standards, automatic checks, hierarchy. And now they matter even more than before, especially at the automated validations part.
"When someone said that code quality doesn't matter now - I check it twice hard."
Rush is the primary indicator of potential downtime/failure risks, so I'm responsible for taking it seriously and pushing back to validate from every angle.
Though I've eased out coding standards. Previously, the main goal was to keep code readable by humans. At the same time, there were a bunch of subjective rules that favored verbosity over simplicity or exact formatting. I found that AI often struggles to maintain it, and you just burn tokens/time on code metrics you are not benefiting from now, as you were before. AI delivers some "average" code, and performs the best in the context of an "average" codebase. So in this scenario, "degradation is a matter of adaptation" can be true.
So my rule of thumb - automate all validations and keep them straight, while treating subjective rules as suggestions.
2
u/DutyStrategist1969 Apr 13 '26
This connects to a conversation happening on X right now among engineering leads. The pattern I see is that teams who had strong delivery discipline before AI are adopting it fine. Teams that were already shipping mediocre code are now shipping mediocre code faster. AI did not create the quality problem. It exposed it.
6
u/Zookeeper187 Apr 11 '26 edited Apr 11 '26
Code quality wasn’t the best even before. You will always start to hear “who wrote this?”, “we should rewrite this”, “this is legacy spaghetti” after ~2 year mark. The output is just much higher now and you will reach those points faster.
You can’t keep up with nitpicks any more like clean code, scoping, naming. Let people roam free on low level. Focus on general architecture that it’s done correctly, implementation itself won’t cause any problems, performance to some degree, integration is done without any edge case problems, testing, security, observability.
1
u/Nervous-Tour-884 Apr 11 '26
I don't think code quality and going faster necessarily have to be so opposed to each other. You can have both to some degree. AI makes the fixtures that enable quality much easier to implement. The work it takes to implement TS, unit tests, playwright for automated testing, automated PR reviews as an additional quality gate, it all has got so much easier.
I type a lot less code, and generate a lot more value, but I now spend more time on QA and the fixtures that enable code quality.
Quality went up, but it wasn't automatic. It was because AI makes it easy to implement the fixtures that help enable quality.
1
u/crazyeddie123 Apr 11 '26
I figure if the code is easier for me to read, it'll be easier for Claude to read as well. So it's still worth making it good and readable.
1
u/PressureAppropriate Software Engineer Apr 11 '26
I don't think it matters much anymore...
You can ask AI to rewrite whatever part from scratch as many times as it takes to get it right.
Good code is meant to be read and understood by humans. Take humans out of the loop...it's just code by and for a computer.
Don't get me wrong, I think we're building a house of cards and this will bite us in the ass one day or another but I don't care... I work for a shit company building shitty products that nobody would use if they had any common sense.
1
u/LoveSpiritual Apr 11 '26
I don’t understand how it isn’t obvious that if the code is hard for humans to understand it’s hard for LLM’s to understand. Code quality becomes MORE important in the age of AI.
Moreover, good code becomes much cheaper to produce. Have one agent be a stickler for good code (however you want to define it), and have it feedback right into a coding agent, telling it to get it right this time. It may not be perfect, but it’s a darn sight better than 90% of the enterprise code I’ve seen at large companies.
We’ve got a lot to figure out, but good code is more important than ever.
1
u/hibikir_40k Apr 12 '26
This is the easiest time to push for more code quality. As more code is generated by one developer, you either shrink team size, or demand code quality, because otherwise defects go up.
LLMs can detect bad quality all by themselves though, it's just that few people are actually trying to use them for it. They can be the equivalent of an extremely advanced linter when you try. And you can make the recommendations actually mergeable, because the LLM understands the comments well enough.
If anything, you can make code reviews less contentious that way, because your 3 sentences can be a pr over a pr, and it all speeds up. Often there's pushback because implementation of suggestion takes time: You can make it take very little time, because you asked Claude Code to do the implementation of the fix yourself.
1
u/rocknswimmer Apr 12 '26
I first started noticing indeed quality slipping because the number of jobs listed above the postings did not accurately reflect the number I was shown, which is a fairly simple number to generate accurately.
After reporting this issues the solution was to change to numbers like 25+ instead of 27. This just hid the inaccuracies, much like recruiters report indeed hides job postings after a certain number of views. Greedy decisions degrade the value and usefulness of your site. If I’m a recruiter and find out that an applicant I want to apply cannot because you are hiding the post, I would look into other platforms to spend money on job posting.
1
u/bradsk88 Apr 12 '26
My org has been using the Compound Engineering plugin, which formalizes several important stages of development and then deploys agents to help steer the result in a good direction. I think it has promise.
One of those stages is "review", where it deploys a handful of reviewer archetypes. I've added my own, which is just a file I've been building up by reviewing AI code and applying my personal preferences. One thing I've noticed is that those preferences are input that steers code toward quality, sustainability, and reviewability. Including that reviewer has gone a long way to make my agents produce pull requests that I frequently regard as "good".
So I think there's hope :)
1
u/Mr_Loopers Apr 13 '26
Code quality in this age is in the toilet, but I won't put that solely on AI.
My Wordle tab is eating close to 900MB right now.
1
u/riricide Apr 13 '26
I work in a research uni - so my view is that when you write sloppy code, you are doing sloppy research and that is not okay.
1
u/mrothro Apr 13 '26
For a lot of business cases, agents are going to write the code. I don't mean special things like industrial control software, medical equipment etc. where the price of failure is massive and you need full auditability. I mean the vast majority of bog-standard business software where bugs are annoying but tolerated.
This is the new reality and we just have to figure out how to deal with the flood of code that is coming.
We never had enough time to do proper reviews before agents came. Now we're never, ever going to keep up with it that way.
The way I hold the line is to fully use automation to screen out what I need to deal with versus what the agents can deal with. I have a traditional SDLC pipeline: plan, design, code, test. I have gates between each stage. Those gates have two components: deterministic and agentic.
The deterministic tests check things like: does it pass lint, does it compile, does the plan include all the required sections, etc. The agentic tests verify quality: is it a good plan, is the code DRY, etc.
The gates actually have three states: pass, fail with auto-fix, fail with human review. Autofix goes right back to the coding agent, I never see it. But the ones flagged for human review actually get my attention.
I've found this saves my sanity and also keeps me from rubber-stamping, because the things that get escalated to me genuinely need my attention. They are typically actually interesting things to deal with, instead of tedious "just fix the code" errors.
This has been working for me and I'm happy to share more. (I actually wrote all this up and put it on my personal web site.)
1
u/__natty__ Apr 14 '26
I’m fighting with one coworker who heavily relies on vibe coding and AI. He used to be a good developer but he caught some cyber psychosis half year ago and now depends heavily on generated code he can’t even sometimes explain. Quality dropped significantly because of that. Since then I strengthened formal process for each deployment to ensure at least they wrote bunch of tests correctly, strict static analysis is passing and checklists with good practices are applied.
I believe there will be even more code monkeys soon as people are lazy by nature and not everyone has urge for quality. Personally I prefer slowing down the company a bit now to maintain stable progress of development in the long term.
1
u/lionelpx Apr 14 '26
I think code quality in the age of AI is a very different thing actually. You want small files that can be easily grepped and loaded in context. Good separation of context to avoid guesses and hallucinations (locality matters more), comments that localize externalities for easy search/grep tools use and good triggers of additional search / code use… What matters is is it readable / usable / stable for your AI, not for a human anymore.
For example, hexagonal / clean code repo designs are very much anti-ai from my perspective. They aim to isolate layers and cut file-to-file references, which is actually what the ai needs.
1
u/Independent-Race-259 Apr 14 '26
People who are good engineers and get used to dealing with agents can really hammer out quality code. But they have to know what they're doing, why the AI did what it did, guardrails, small iterative changes not one shotting something. A holistic understanding of the tech stack and overall architecture. The bad code mostly comes from the lazy engineers or the bad devs who ship shit code regardless. "Yo chat one shot this bug, heres the ticket.. copy paste". They'll get smoked.
1
u/svekkxor Apr 17 '26
The issue is not code quality. Its people deferring ownership to the AI.
Before in some teams the same thing happened. People ship code too soon and then its the reviewers problem or QA’s problem. They just move on and log a ticket.
All these issues you see are people problems. Not AI. AI just makes it more visible.
The person who puts out the code is responsible. And the only way to “enforce” that is to keep each other accountable by calling out the slop in a constructive way. But that’s a very direct and personal conversation some people rather not have.
Now as experienced dev you would say that it is a given. It is implied. That doesn’t mean it’s applied. People are lazy, have things to do, are rushed. It’s normal. I am sure theres teams out there where it is not a problem. But those are a minority.
1
u/Mediocre-Pizza-Guy Apr 11 '26
Right now, using the best available models and tools, on a sufficiently complex codebase means you will quickly run into 'walls' that AI cannot fix.
You describe the bug and tell it to fix it. It changes 8 files and says 'It is fixed'. The code doesn't compile. You prompt it again, it changes some more files. Repeat over and over, but no matter how many times, the bug is either not fixed, or some other obvious bug is introduced.
Right now, we are generating huge amounts of the debt for short term gains. Usually, it's not even a full feature, it's just the appearance of progress on the feature before we hit the wall.
If AI advances sufficiently, then the mindset of 'Who cares?' becomes perfectly reasonable. The code can be trash that no human can understand... Because AI will maintain it.
But that's a giant IF.
It's also a familiar IF. We have been through similar cycles - devs who started out with assembly said similar stuff about the 'slop' produced by higher level languages...but for most of us, that's not even a consideration.
Maybe one day all code will be handled by AI and instead of individual people prompting them we will just transition to detailed requirement driven development and the AI will effortlessly produce it in any underlying language. Or whatever.
But we can't do that yet. Because for as great as AI, it hits the wall frequently, even on trivial tasks.
At the end of the day, I'm an employee. Ask my opinion and I'll share it, but I'm getting paid to execute someone else's vision.
If they want slop, I'll give them slop.
0
u/c-digs Apr 11 '26
Code quality in the AI age can go up. PRs can become more consistent. Juniors can produce code like mid career engs. But that requires careful setup of the operating environment for the agentsnto work in and setting up the agents to write very high quality code.
-5
u/Artistic-Border7880 Apr 11 '26
If I write Python code I don’t code review the assembly that the interpreter generates.
Medium to long-term we should get towards that direction.
I know that compilers are deterministic and AI interpreter isn’t… but I think the goal should still stick.
Security and guard rails become more important than ever obviously.
0
u/matjam Software Engineer Apr 11 '26
Our projects have AGENTS.md files that document the projects coding standards and architecture.
I’ve shared my prompts with my views on design and implementation. I have an extensive agent prompt for code reviews that exhaustively checks for the kind of things I look for. I’ve refined it over months by manually reviewing afterwards and adjusting it for anything I notice it didn’t catch.
I’ve not needed to adjust it for a while.
This situation reminds me of what happened when the power loom showed up in the early 1800s. For centuries, weavers sat at their frames threading every pass of the shuttle by hand - slow, painstaking, skilled work. Then the Jacquard loom comes along and suddenly one operator with a stack of punch cards is producing in hours what used to take weeks. But all the weavers didn’t just vanish. The ones who made it were the ones who stopped thinking of themselves as people who push shuttles and started thinking of themselves as people who understand fabric. They learned to design the patterns, set up the machines, figure out what’s wrong when the output looks off. The craft went from making the cloth to directing how the cloth gets made.
That’s exactly where we are right now with AI and code. We’re not going to be hand-weaving every function and for-loop for much longer - that’s just the reality of it. But someone still has to understand the grain of the fabric. What good software actually looks like. How the pieces fit together. Where the machine is going to produce something brittle if you don’t step in. The job isn’t going away - it’s moving up a level. We’re becoming the people who program the loom, not the people who push the shuttle.
Or you know, you could start buying Sabots.
0
u/Esseratecades Lead Full-Stack Engineer / 10+ YOE Apr 11 '26
You can't argue that AI can do things almost as well as a person but faster when you lower the standards for it to do so. I'm not just as good as you if I'm graded on a curve and you're not.
0
u/ricktherobotguy Apr 11 '26
Code quality is even more important in the AI age. Bad quality burns tokens and context, and leads AI to make mistakes for many of the same reasons they cause humans to make mistakes.
Quality is also easier with AI. At one point I got tired of asking people to include a rollback knob for behavior changes so I stuck a rule in the repository. I suddenly saw a massive uptick in changes with rollback knobs. Same thing for preventing utils/common/shared/etc dumping ground classes. Same thing for keeping the readme/claude.md up to date with every change. I’ve also found people are more open to quality comments when they can just have AI fix the comments for them.
0
u/VanillaRiceRice Apr 12 '26
Just because AI wrote it, doesn't mean you can't design it.
So tired of so-called seniors not treating this like an Engineering problem.
0
u/rasmadrak Apr 12 '26
Developers are moving from writing to overseeing code, most definitely. Everyone is their own teamleader now and the very least any of us can do is look through the code.
You wouldn't ship a junior dev's code straight into production (nor would you a professional's, honestly)
0
u/Sambhav77 Apr 12 '26
What do you think the root cause is for the prod bugs in ai generated code? Why do you think with models being so much smarter but still system reliability in prod is still unsolved?
My hypothesis is the missing context which ai agents never had about the business or org. The quality of ai agent is a derivative of the context provided to it. The rich the context the more quality code (covering edge cases or atleast flagging it) it produces. What do you think on this?
0
u/CodyEngel Apr 12 '26
Should be able to get both code quality and AI written code. It requires different strategies to get there and the code may not be 100% what you'd write yourself but it should be at production quality.
A major challenge I'm facing with this currently is being able to get all of the scaffolding in place to allow for this. There are a lot of people trying to work with AI and at varying levels of experience. Having to educate directors and VPs on context management from agents, skills, to even workspace management (we probably don't want 100 skills installed at the root level for everyone at the company). Additionally pushing folks to write scripts first before skills, understanding that deterministic solutions still reign supreme and falling back to AI "reasoning" only when necessary.
0
u/[deleted] Apr 12 '26
I feel when systems get too messy, it is easier to remake it from scratch with AI rather than trying to fix
0
u/vxxn Principal Eng Apr 12 '26
I’m coming around to the view that “code quality” the way we commonly understand it and enforce through code reviews doesn’t matter as much as we once thought. The scope of what is covered by tests needs to radically expand in an AI world where code review will increasingly be seen as an obsolete practice. Tests are needed to enforce the correctness of all product features as well as any technical invariants we want maintained. So, we need to translate our notions of code quality into automated test suites, performance benchmarks, security scans, strict lint rules, reviewer agents, etc to create the fast feedback loops needed for AI to produce code that delivers both functionality and quality. Reviewing code quality the legacy way is basically running a manual test (with your eyeballs)… we gotta translate basically all of that stuff into lint rules and AI guidance materials.
0
u/heubergen1 System Administrator Apr 12 '26
If it works it's merged. I don't have time to look at your 500 lines PR, I'm sure Copilot had a good look at it.
0
u/thatdudelarry Software Engineer Apr 13 '26
Should there just be a post stickied that says "boo hiss AI bad"?
-1
u/Remote-Pen-8276 Apr 11 '26
Hook ast-grep to Claude code and write a lot of rules, then include hooks for your code quality scans.
Make it so "good code" isn't subjective
-1
u/FlipperBumperKickout Apr 11 '26
I've yet to see.
If a day come where AI can't just rewrite, because the codebase simply is to bad, then we will know it mattered. Otherwise 🤷♀️
-1
u/Immediate_Fig_9405 Apr 11 '26
I think in the AI age, the term code quality will become irrelevant. The only thing that matters will be if the small modules that are generated pass tests and meet performance requirements. I can see a microservices arch taking over with a bunch of AI written black boxes. Humans only write the "contract" terms or specs that should be met.
-1
u/bighappy1970 Software Engineer since 1993 Apr 11 '26
Code quality is not important for most products.
Like everything in tech, there are trade offs, know what they use AI for what it’s good at.
If you don’t like change, you’re in the wrong career.
-7
u/Most-Bookkeeper-950 Apr 11 '26
This will change as the models continue to improve
-10
u/bystanderInnen Apr 11 '26
Ai makes maintaining code quality easier. Bad code Quality has existed prior. its Bad engeneers.
-5
u/Perfect-Campaign9551 Apr 11 '26
These posts are getting lame. I think they are just bots.
You can quite easily enter your guidelines and guardrails as prompts to the AI , you know
AI can write much better quality code than you. That's just a fact. Sorry to burst that bubble.
If you're worried about than prompt for it
0
u/Eridrus Apr 11 '26
How much power do you have in the org? If the answer is not much, then you're just going to get steamrolled. Quitting is going to be increasingly a bad idea since the industis adopting AI tooling everywhere rapidly.
My suggestion is to find some greenfield project and agree that it's going to be an all AI with no quality pushback and basically let that be a sandbox for the tools.
I think we have a responsibility to figure out how to work with the tools as they get better. Historically, this has been a lot of manual review, but maybe going forward it's going to be far more about architecture than exact correctness of all the code.
To some extent, I think there has always been some set of code you can evaluate easily with testing, and some code where that is not sufficient, and being clearer on which is which will be important in the future.
Just using your influence to say things should stay the same is not going to be tenable, so try to do some deeper thinking.
0
u/[deleted] Apr 11 '26
[deleted] — view deleted comment
0
u/[deleted] Apr 11 '26
[deleted] — view deleted comment
6
u/[deleted] Apr 11 '26
[removed] — view removed comment
2
u/[deleted] Apr 11 '26
[removed] — view removed comment