frontpage.
newsnewestaskshowjobs

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

1•MADEinPARIS•24s ago

Why Everyone Got Spain's Blackout Wrong [video]

https://www.youtube.com/watch?v=Rb9oWsQuENE
1•pepperoni_pizza•4m ago•0 comments

An Open-Source Static AI Capability and Risk Analyzer – First Week Report

https://github.com/ikaruscareer/SafeAI
1•ikaruscareer•6m ago•0 comments

1877–1878 El Niño event

https://en.wikipedia.org/wiki/1877%E2%80%931878_El_Ni%C3%B1o_event
2•simonebrunozzi•6m ago•0 comments

Doom for PC-FX [video]

https://www.youtube.com/watch?v=wUd5IGMbe48
1•cedel2k1•7m ago•0 comments

Buying a Home Has Gotten Harder for Young Adults in Most U.S. Metro Areas

https://www.pewresearch.org/short-reads/2026/06/24/buying-a-home-has-gotten-harder-for-young-adul...
1•karakoram•7m ago•0 comments

PGSimCity – an explorable 3D model that shows how Postgres works

https://github.com/NikolayS/pgsimcity
1•samokhvalov•8m ago•0 comments

Big Tech accused of stonewalling European social media researchers

https://www.wired.com/story/european-researchers-want-to-study-social-medias-harms-but-cant-get-t...
1•logickkk1•11m ago•0 comments

Wright's Law Edges Out Moore's Law in Predicting Technology Development (2012)

https://spectrum.ieee.org/wrights-law-edges-out-moores-law-in-predicting-technology-development
1•simonpure•16m ago•0 comments

Coding Has Agents. Trading Has One

https://henryzhang.substack.com/p/coding-has-agents-trading-finally
1•henryzhangpku•17m ago•0 comments

Simulate cassette tape audio profiles using FFmpeg

https://github.com/AARomanov1985/Audio-Cassette-Simulation
1•xterminal•17m ago•0 comments

Show HN: Infinite Jigsaw Game

https://infinitejigsaw.com
1•impostervt•18m ago•0 comments

The Sustained Performance Gap: Why Laptop Specs Don't Tell the Whole Story

https://psyll.com/articles/technology/tech-gadgets/thermal-throttling-why-laptops-lie-about-speed
1•lucasfletcher•18m ago•0 comments

The Lego Problem, Revisited

https://seths.blog/2026/07/the-lego-problem/
1•herbertl•20m ago•0 comments

Most Americans Say Financial Milestones Are Harder for Today's Young Adults

https://www.pewresearch.org/short-reads/2026/07/17/majorities-of-americans-say-key-financial-mile...
3•karakoram•22m ago•0 comments

The American E.V. Has Been Crushed. Will It Take the U.S. Auto Industry with It?

https://www.nytimes.com/2026/07/15/magazine/electric-cars-american-evs.html
1•bookofjoe•24m ago•1 comments

Vulnerabilities in CJSON

https://joshua.hu/cjson-json-parser-cve-vulnerabilities
1•ingve•26m ago•0 comments

Automate 7 Projects Marketing with AI for $40

https://apsquared.co/posts/marketing-automation-claude-codex
1•apsquared•27m ago•0 comments

What does GitHub's security team even do?

https://orchidfiles.com/github-security-team/
4•theorchid•28m ago•0 comments

We built phone-only laser tag with computer vision and sensor fusion

https://lightwarsar.com/engineering/targeting-system/
1•mrr7337•30m ago•0 comments

When Compilers Disagree About UTF‑8

https://nemanjatrifunovic.substack.com/p/when-compilers-disagree-about-utf8
2•ingve•33m ago•0 comments

Two AI Futures to Choose From

https://www.rameznaam.com/p/two-ai-futures-to-choose-from
2•simonpure•34m ago•0 comments

against “it’s not that deep”. actually, it is

https://velvetnoise.substack.com/p/against-its-not-that-deep-actually
1•jger15•35m ago•0 comments

Show HN: Free Bible study that explains every chapter you read

https://learnofchrist.com
8•not_wowinter14•39m ago•2 comments

Nushell

https://www.nushell.sh/
3•handfuloflight•39m ago•0 comments

$550M in Medical Debt Only Cost $5.5M [video]

https://www.youtube.com/watch?v=Cimg-Xg043Y
3•foxfired•40m ago•0 comments

Wordsmith

https://segue.app/wordsmith
2•_continuation•41m ago•1 comments

Kimi K3 is not cheap

https://www.alexinch.com/blog/kimi-k3
17•ainch•42m ago•14 comments

New funding rules will make US research slower, costlier and harder to share

https://theconversation.com/new-trump-administration-rules-on-federal-science-funding-could-make-...
2•teaman2000•46m ago•0 comments

Look at Silicon Valley history from 360 degrees over the years

https://ValleyOfIdeas.com
1•chenpaul•47m ago•0 comments