frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Maintaining code quality with widespread AI coding tools?

3•raydenvm•1y ago
I've noticed a trend: as more devs at my company (and in projects I contribute to) adopt AI coding assistants, code quality seems to be slipping. It's a subtle change, but it's there.

The issues I keep noticing: - More "almost correct" code that causes subtle bugs - The codebase has less consistent architecture - More copy-pasted boilerplate that should be refactored

I know, maybe we shouldn't care about the overall quality and it's only AI that will look into the code further. But that's a somewhat distant variant of the future. For now, we should deal with speed/quality balance ourselves, with AI agents in help.

So, I'm curious, what's your approach for teams that are making AI tools work without sacrificing quality? Is there anything new you're doing, like special review processes, new metrics, training, or team guidelines?

Comments

mentalgear•1y ago
I also share this experience/concern.

Yet, it could be as easy as having a specialised model which is a code quality checker, refactor-er or QA tester.

Also, claimify (MS research) could be interesting for isolating claims about what the code should do, and then following up on writing granular unit test coverage.

raydenvm•1y ago
Thanks for sharing! Never heard of claimify, already looking into it...
furrball010•1y ago
I share your concern, but perhaps for a different reason. I think the more code is added, the more problems/bugs emerge, whether a human or AI codes it.

However, with AI coding tools it's becoming a lot easier to write A LOT of code. And all this code (similar to when a human would write it) adds complexity and bugs. So it's not just the quality, it's also the quantity of code that damages existing code bases (in my view).

raydenvm•1y ago
Yeah, more code in the same amount of time. And then it is tough to find more time for code review
sargstuff•1y ago
?? code quality ?? more management quality. AI provides ability to spot possibility of 'issues'/conflicts sooner.

Really need to be adhering to set of defined specifications (functional / non-functional / domain specific), (work,project, etc). (and/or looking at what level(s) the specifications still relevant, post definition of specifications -- historically via different management levels). Note: doesn't necssarily mean riedgid specs first, code next, document.

Sigificant coding is "DFA" per setting/defining pre/post environment : repository check-in/out can be setup to do specification checking/diffing for auto-documentation, 'language/project features requirements, aka use, do not use, only use when, never use' can be done/filtered via . Above certain 'size', 're-inventions' would be an AI statisticall inference thing per amount of information.

Non-DFA aka "context sensitive" stuff : AI would only make sense if way to compare specifications with 'intentions'. aka generate confidence in how much newer coder has been on-boarded relative to coding attempts & project/work specifications. Perhaps also give work place management insite into how relevent things are (vs. "worker is the issue"). aka non-adherance to 'spec' because spec doesn't cover issue(s). Time to review spec. Still need human(s) in loop to figure out the relevant tangibles/intangibles. AI can certainly help identify ambiguities in specifications & how specifications are implimented/used. aka code debt & code drift

After Hours Line – Never miss another after-hours emergency call

https://afterhoursline.com/
1•joshuamaddux•5m ago•0 comments

Step.parts, 12,000 open source STEP parts

https://www.step.parts
1•softservo•7m ago•1 comments

When Prototypes Become Cheap, Judgment Becomes Priceless

https://medium.com/@jef.smith570/when-prototypes-become-cheap-judgment-becomes-priceless-4efdd247...
1•cebert•8m ago•0 comments

Canvas Just Sent a Dangerous Message to Hackers: Crime Pays If You Do It Right

https://www.pcmag.com/opinions/canvas-just-sent-a-dangerous-message-to-hackers-crime-pays-if-you-...
2•Cider9986•10m ago•0 comments

yeah – a command-line tool that answers yes/no questions using an LLM

https://github.com/crawshaw/yeah
3•indigodaddy•15m ago•0 comments

Solar Power Is So Big in Europe That Electricity Is Being Wasted

https://www.bloomberg.com/news/articles/2026-05-13/europe-solar-power-wasted-as-electricity-grids...
4•vipshek•18m ago•0 comments

Childhood and Education #18: Do the Math

https://thezvi.substack.com/p/childhood-and-education-18-do-the
2•paulpauper•26m ago•0 comments

Fragnesia: Linux Kernel Local Privilege Escalation via ESP-in-TCP

https://www.wiz.io/blog/fragnesia-linux-kernel-local-privilege-escalation-via-esp-in-tcp
1•keyle•26m ago•0 comments

Cyber Lack of Security and AI Governance

https://thezvi.substack.com/p/cyber-lack-of-security-and-ai-governance
2•paulpauper•26m ago•0 comments

OpenAI Daybreak

https://openai.com/daybreak/
2•jonbaer•28m ago•0 comments

Marx's Theory of Alianation of Labor

https://en.wikipedia.org/wiki/Marx%27s_theory_of_alienation
4•steven_noble•35m ago•2 comments

Where the Microsoft-OpenAI economics currently stand, incl capex

https://twitter.com/amir/status/2054669172240707676
2•cwwc•36m ago•0 comments

Nick and Tristan's Interview with Tyler Cowen

https://www.outrageousfortune.ca/p/nick-and-tristans-interview-with
1•paulpauper•40m ago•0 comments

Xkcd 3233 – Make It Myself

https://xkcd.com/3233/
3•arm32•40m ago•1 comments

What we learned using AI agents to refactor a monolith

https://1password.com/blog/what-we-learned-using-ai-agents-to-refactor-a-monolith
1•cdrnsf•41m ago•0 comments

Show HN: Petri – Drop-in Postgres image that forks a DB per test

https://github.com/taktekhq/petri
2•nizarmah•42m ago•0 comments

AI, Player-Coaches, and Fixing the Management Problem

https://www.axamy.com/blog/ai-player-coaches-and-fixing-the-management-problem
1•jhonovich•57m ago•10 comments

Not Forgotten – Maui Fire Relief – StartUp Non-Profit-Documentary [video]

https://www.youtube.com/watch?v=uXSO3iehL9U
1•pgroverman•57m ago•0 comments

Show HN: Showing the same info in 248 different UI

https://whoareyou.infiniwa.com/
1•ym705•57m ago•0 comments

The anti-minimalist backlash is the bigger story behind Oxygen's revival

https://filipfila.wordpress.com/2026/05/10/the-anti-minimalist-backlash-is-the-bigger-story-behin...
1•birdculture•58m ago•0 comments

The Smartphone Market Is Cracking

https://asymco.com/2026/05/13/the-smartphone-market-is-cracking/
1•ndr42•1h ago•0 comments

Old film camera can now shoot 4K video, 26MP RAW files without any modifications

https://www.digitalcameraworld.com/cameras/film-cameras/im-obsessed-with-retro-cameras-this-gadge...
1•teleforce•1h ago•0 comments

Intercom changes name to Fin

https://www.intercom.com/blog/today-intercom-becomes-fin/
16•RyanShook•1h ago•11 comments

Chinese EVs take the world by storm

https://www.nbcnews.com/world/asia/chinese-evs-take-world-storm-united-states-rcna344680
3•lxm•1h ago•0 comments

MathScroll: Infinitely Scroll Mathematics

https://projects.ollybritton.com/mathscroll/
1•pykello•1h ago•0 comments

New Yuri Anime Has Girls Duking It Out in Street Fighter 6 (and Falling in Love)

https://kotaku.com/young-ladies-dont-play-fighting-games-street-fighter-6-2000692424
1•PaulHoule•1h ago•0 comments

CEOs Say Layoffs Are AIs Fault–But Some Experts Think Companies Are Lying|Forbes

https://www.forbes.com/sites/maryroeloffs/2026/05/07/ceos-say-layoffs-are-ais-fault-but-some-expe...
2•Baljhin•1h ago•1 comments

Show HN: I made a minimalistic Tower Defense Game – iOS – Looking for feedbacks

https://voidgame.app/
1•pompeii•1h ago•0 comments

Video Is Different at 360p

https://www.youtube.com/watch?v=UCBAqaT4SQc
1•philo23•1h ago•0 comments

Software Engineers Are Obsolete

https://idiallo.com/blog/everyone-is-better-than-you
2•ilreb•1h ago•0 comments