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

Malaysia Crushes Network School. Balaji Flees to Kazakhstan

https://www.thenerdreich.com/malaysia-crushes-network-school-balaji-flees-to-kazakhstan/
1•gumby•3s ago•0 comments

If you watch YouTube it may owe you $100

https://www.latimes.com/business/story/2026-07-22/if-you-watch-youtube-it-may-owe-you-100
1•andsoitis•4m ago•0 comments

Browser Hyphenation Dictionary Names the OS It Runs On

https://scrapfly.dev/posts/browser-hyphenation-os-fingerprint/
1•joahnn_s•5m ago•0 comments

Rolling in the Diffs

https://pwno.io/diff
1•retr0reg•6m ago•0 comments

Show HN: Sortstash – A file manager that indexes local and cloud files in place

https://sortstash.com/
1•codeluva•6m ago•0 comments

Show HN: Agent in 9 Lines Python

https://gist.github.com/tosh/6e91a9dbf08dd630c535e7345ac7f0b5
2•tosh•7m ago•0 comments

Accelerate Decisions. Improve Collaboration

https://get-rhizome.app/en
1•doener•7m ago•1 comments

Touchable: First Physical AI Agent

https://play.google.com/store/apps/details?id=com.spectral.touch.touchable&hl=en_US
1•evgeny_finkin•7m ago•0 comments

Ask HN: Old Reddit no longer working without log in?

1•6stringronin•8m ago•0 comments

Get Paid to Code, Litterally

https://www.virdl.com/
1•aaxetech•9m ago•0 comments

Show HN: Browser based scratchpad/text editor

https://kladdi.app
1•atlithorn•10m ago•0 comments

Data Centers of Track to Suck Up a Fifth of US Power Use by 2035

https://www.bloomberg.com/news/articles/2026-07-21/data-centers-on-track-to-suck-up-a-fifth-of-us...
1•ajay-d•10m ago•0 comments

Ask HN: What made your business take off that you wish you'd done much earlier?

1•chistev•10m ago•0 comments

Show HN: Makes local LLMs faster and more reliable by optimizing for your device

https://www.autotunellm.com/
1•tanavc•11m ago•0 comments

Harness Sandboxing with Containers

https://rewiring.bearblog.dev/sandboxing-a-bot/
2•Mossy9•12m ago•0 comments

CJEU Ruling on Platform Liability Could Damage Freedom of Expression

https://www.eff.org/deeplinks/2026/07/new-eu-court-justice-ruling-platform-liability-could-cause-...
1•hn_acker•12m ago•1 comments

JavaScript Date Is Lying to You – the traps that keep shipping to production

https://blog.gaborkoos.com/posts/2026-07-21-Your-JS-Date-Is-Lying-to-You/
1•birdculture•13m ago•0 comments

Where are Europe's households most indebted?

https://www.euronews.com/business/2026/07/21/where-are-europes-households-most-indebted-not-where...
1•rawgabbit•13m ago•0 comments

A Fine balance between curiosity and digital hoarding

https://libraryofpotential.com/a-fine-balance-between-learning-and-digital-hoarding/
2•speckx•14m ago•0 comments

We audited 1,751 "relationship milestones" our RAG extractor wrote 62% were junk

https://myastra.pl/casestudy
1•architekt•14m ago•0 comments

Hand the agent a map: ontology and graph traversal for AI agents

https://altertable.ai/blog/2026-07-22-hand-the-agent-a-map
1•fvaleye•15m ago•0 comments

Vibecoded Dynamic DNS Service

https://dogdns.org/
1•levidurfee•16m ago•1 comments

Some more things about Django I've been enjoying

https://jvns.ca/blog/2026/07/21/more-nice-django-things/
2•ibobev•16m ago•0 comments

OpenAI Confirms Its AI Broke Out of a Sandbox and Breached Hugging Face

https://thenextweb.com/news/openai-confirms-its-ai-broke-out-of-a-sandbox-and-breached-hugging-face
1•hsuduebc2•16m ago•2 comments

My comment box is your email client

https://en.andros.dev/blog/ad250446/my-comment-box-is-your-email-client/
1•ibobev•17m ago•0 comments

AndyH/Hewco Retro Game Developer Interview

https://retrogamecoders.com/andyh-hewco-interview/
1•ibobev•17m ago•0 comments

OpenAI and the Global Defense Coalition partner to address security incident

https://blog.tedivm.com/satire/2026/07/openai-and-the-global-defense-coalition-partner-to-address...
1•tedivm•17m ago•0 comments

Show HN: TLS Radar – Independent SSL/TLS Monitoring, Web and CLI and Claude

https://tlsradar.com/scan
1•tlsradar•18m ago•0 comments

Show HN: HN Listen – a podcast about the HN comments more than the articles

https://hnlisten.app
1•nadzzz•18m ago•0 comments

A Mechanistic Explanation of Prompt Injection (and why you should study roles)

https://www.lesswrong.com/posts/d8xDGzCEYE639qqEv/a-mechanistic-explanation-of-prompt-injection-a...
1•surprisetalk•18m ago•0 comments