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

Strengthening Singapore's AI Future

https://deepmind.google/blog/strengthening-singapores-ai-future-a-new-national-partnership/
1•pretext•46s ago•0 comments

Microsoft Agrees to $250M Settlement with Activision Blizzard Shareholders

https://www.law.com/delbizcourt/2026/05/22/microsoft-agrees-to-250m-settlement-with-activision-bl...
1•1vuio0pswjnm7•56s ago•0 comments

White House ordering agencies to place its new app on all employees' govt phones

https://www.govexec.com/management/2026/05/white-house-ordering-agencies-place-its-new-app-all-em...
1•mikhael•1m ago•0 comments

US tells foreigners seeking green cards: Return to your countries to apply

https://www.reuters.com/legal/government/uscis-tells-foreigners-seeking-green-cards-return-your-c...
1•tartoran•1m ago•0 comments

Publishing's Latest Piracy Problem: Audiobooks on YouTube

https://www.nytimes.com/2026/05/21/books/audiobook-piracy-youtube.html
1•thm•4m ago•0 comments

Judge considers ordering Meta to revamp its apps

https://www.politico.com/news/2026/05/22/meta-judge-trial-public-nuisance-facebook-00934485
1•1vuio0pswjnm7•5m ago•0 comments

Crypto industry braces for quantum computing threat

https://www.ft.com/content/99c1c1e7-1a1c-479c-9fc8-e21aea5c3f0e
2•thm•7m ago•0 comments

Waymo suspends all freeway rides over safety

https://www.latimes.com/business/story/2026-05-22/waymo-suspends-all-freeway-rides-over-safety
2•1vuio0pswjnm7•7m ago•0 comments

Starbucks scraps AI inventory tool after nine months

https://qz.com/starbucks-scraps-ai-inventory-tool-nomadgo-052226
2•thunderbong•8m ago•0 comments

In India, You Can Get Milk Delivered Faster Than It Takes to Make Coffee

https://www.wsj.com/business/logistics/in-india-you-can-get-milk-delivered-faster-than-it-takes-t...
2•JumpCrisscross•9m ago•0 comments

Google appeals search monopoly ruling, says it won business 'fair and square'

https://www.theverge.com/policy/936175/google-search-monopoly-ruling-appeal
1•thm•9m ago•0 comments

Cannes Film Cost $500k to Make. $400k Was AI Compute Costs

https://www.wsj.com/cio-journal/this-cannes-film-cost-500-000-to-make-400-000-was-ai-compute-cost...
2•JumpCrisscross•10m ago•0 comments

How to Be a Real Elite Programmer

https://skorks.com/2010/05/how-to-be-a-real-elite-programmer-and-make-sure-everybody-knows-it/
2•mahirsaid•13m ago•0 comments

The Fonts of the U.S. Federal Courts

https://daringfireball.net/2026/05/the_fonts_of_the_us_federal_courts
1•Tomte•16m ago•0 comments

Microsoft's new multi-model agentic security system tops leading benchmark

https://www.microsoft.com/en-us/security/blog/2026/05/12/defense-at-ai-speed-microsofts-new-multi...
2•uniclaude•23m ago•0 comments

Lisa's Copy (and Cut, and Paste)

https://unsung.aresluna.org/lisas-copy-and-cut-and-paste/
1•zdw•26m ago•0 comments

Is U.S. AI Adoption Plateauing? A Comprehensive Analysis

https://medium.com/@markchen69/is-u-s-ai-adoption-plateauing-a-comprehensive-analysis-cf5c1beef8cf
1•mgh2•30m ago•0 comments

Introducing BDD (2006)

https://dannorth.net/blog/introducing-bdd/
1•locknitpicker•31m ago•0 comments

Computing the billionth prime in 1s with LLVM IR

https://github.com/SheafificationOfG/QueenJewels
1•Murfalo•33m ago•1 comments

Is AI Becoming Too Smart for Its Own Good? [audio]

https://rss.com/podcasts/nuclecast-podcast/2811653/
1•apolloartemis•34m ago•1 comments

Gelatine Sculpt: Can This "Gelatin Trick" Transform Your Fat?

https://finance.yahoo.com/sectors/healthcare/articles/gelatine-sculpt-exploding-2026-viral-142500...
2•sarkpauz•36m ago•1 comments

Huawei's new stacking tech for high-capacity SSDs

https://www.blocksandfiles.com/flash/2026/05/21/huaweis-new-stacking-tech-for-high-capacity-ssds/...
1•yogthos•37m ago•0 comments

Engineers vs. Psychiatrists (C. P. Snow)

https://unintendedconsequenc.es/engineers-vs-psychiatrists-c-p-snow/
3•paulorlando•41m ago•0 comments

The Mythical App Store Reviewer Month

https://lapcatsoftware.com/articles/2026/5/4.html
1•zdw•45m ago•0 comments

Ask HN: How to increase depth instead of breadth as 10 yoe as swe?

3•Cheesebh•48m ago•0 comments

Tell HN: Stop building software for people, build it for agents instead

1•keepamovin•49m ago•4 comments

Supply Chain Attack Targets Laravel-Lang Packages with Credential Stealer

https://www.aikido.dev/blog/supply-chain-attack-targets-laravel-lang-packages-with-credential-ste...
2•nullbio•54m ago•1 comments

Deepsec: The security harness for finding vulnerabilities in your codebase

https://vercel.com/blog/introducing-deepsec-find-and-fix-vulnerabilities-in-your-code-base
1•882542F3884314B•59m ago•0 comments

Perplexity Bumblebee: Read-Only Tool for Dev Supply Chain Checks on macOS/Linux

https://github.com/perplexityai/bumblebee
2•882542F3884314B•1h ago•0 comments

Show HN: ThinkLLM, A knowledge graph of AI models (HTTPS://thinkllm.dev)

https://thinkllm.dev
1•gkanellopoulos•1h ago•0 comments