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

It is investors vs. gamers as Sony ditches discs

https://www.ft.com/content/67d7afb6-117c-4335-815c-72000e610b65
1•1vuio0pswjnm7•46s ago•0 comments

Anthropic wants to develop its own drugs

https://www.theverge.com/ai-artificial-intelligence/961311/anthropic-claude-science-ai-drug-devel...
1•cdrnsf•2m ago•0 comments

Damaged Earth Catalog

https://damaged.bleu255.com/
1•Duanemclemore•2m ago•1 comments

Big Tech Has Suddenly Flipped on the AI Jobs Wipeout Scenario

https://www.wsj.com/tech/ai/ai-workers-tech-ceos-job-losses-afc71e15
1•Brajeshwar•4m ago•0 comments

Accusation, Trust, and the Future of Vulnerability Disclosure

https://www.lawfaremedia.org/article/accusation--trust--and-the-future-of-vulnerability-disclosure
1•ano-ther•5m ago•0 comments

Apple Predicted Siri AI in 1987

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

Predicting Build Cache Time Savings with Quick Connect

https://bitrise.io/blog/post/predicting-build-cache-time-savings-with-quick-connect
1•viktorbenei•8m ago•0 comments

Has China Obtained The World’s Most Important Machine?

https://www.economist.com/china/2026/07/05/has-china-obtained-the-worlds-most-important-machine
2•karakoram•9m ago•1 comments

HN: Project Aetheris – Open-source fluid dynamics to replace chemical cooling

https://github.com/PureWaterArtist/VortexArt88-
2•VortexArt88•9m ago•0 comments

Don't give Fable all the power

https://starts.live/blog/dont-give-fable-all-the-power
2•sgraphics8•9m ago•0 comments

Flock Defense "No Expectation of Privacy in Public" Is Wrong

https://ipvm.com/reports/flock-no-privacy-public
3•jhonovich•11m ago•0 comments

Fin: A Jellyfin and Subsonic client for the terminal

https://tangled.org/tsiry-sandratraina.com/fin
2•birdculture•11m ago•0 comments

Marc Andreessen Says One Job Is Mostly Safe from AI: Venture Capitalist

https://gizmodo.com/marc-andreessen-says-one-job-is-mostly-safe-from-ai-venture-capitalist-200059...
2•davidw•11m ago•1 comments

Record-Breaking Ocean Drilling Reveals Why Japan's 2011 Tsunami Was So Deadly

https://www.sciencedaily.com/releases/2026/06/260625060220.htm
2•karakoram•12m ago•0 comments

Canadian spy agency hacked drug traffickers, extremists and a ransomware gang

https://techcrunch.com/2026/07/06/canadian-spy-agency-says-it-hacked-drug-traffickers-extremists-...
2•pier25•13m ago•0 comments

AI surveillance is being supercharged – and it will chill social progress

https://www.theguardian.com/commentisfree/2026/jul/06/ai-surveillance-policy
3•diogenes_atx•13m ago•0 comments

AI that detects conflicts 72 hours early(validated against Ukraine2022)

https://github.com/eshanth23/sentinel
2•eshanth22•13m ago•0 comments

The Fun Shortage Is Real, and It's Making America Miserable

https://www.bloomberg.com/news/features/2026-07-02/why-hotels-theme-parks-and-summer-camps-are-ha...
2•pavel_lishin•14m ago•0 comments

How to Make an Agent Know It Screwed Up

https://justsomebody.dev/blog/how-to-make-an-agent-know-it-screw-up/
2•rafal_opilowski•15m ago•0 comments

Show HN:I Made a Mac Native Excalidraw (Open Sourced)

https://github.com/zpphxd/whitespace
2•z_phxd•16m ago•0 comments

Chrome Extensions, 22M Users, One Undisclosed Offense Each

https://www.hermandaniel.com/blog/20260705-40-chrome-extensions/
2•kekqqq•16m ago•0 comments

Supporting wildland firefighters and their families when tragedy strikes

https://wffoundation.org/
2•mooreds•16m ago•0 comments

The Download: South Korea's hottest bachelors, and advancing eye transplants

https://www.technologyreview.com/2026/07/06/1140172/the-download-south-korea-ai-chipworkers-eye-t...
2•joozio•18m ago•0 comments

Essential Items for Your Hurricane Supply Kit and Generator Safety

https://www.nesthealth.com/hurricane-supply-kit
2•mooreds•18m ago•0 comments

Microsoft once tried to use MS SQL Server in windows file system

https://deepsystemstuff.com/how-microsoft-once-tried-to-use-ms-sql-server-in-windows-file-system/
3•theanonymousone•19m ago•2 comments

Protecting your Supabase projects from NPM supply chain attacks

https://supabase.com/blog/protecting-your-supabase-projects-from-npm-supply-chain-attacks
2•thinkingemote•19m ago•1 comments

A whole suite of privacy tools that run in the browser

https://metamarshal.com/apps
2•milindsoorya•19m ago•0 comments

The Supreme Court Just Lit a Fuse Under Flock's License Plate Camera Empire

https://www.yahoo.com/news/politics/articles/supreme-court-just-lit-fuse-130900307.html
4•bilsbie•22m ago•0 comments

US judge rejects Elon Musk bid set aside Twitter fraud verdict

https://www.reuters.com/world/us-judge-rejects-elon-musk-bid-set-aside-twitter-fraud-verdict-2026...
6•enlightpixel•23m ago•0 comments

Microsoft, AWS and Anthropic are spending billions – and not on better models

https://thenewstack.io/microsoft-frontier-forward-deployed/
3•Brajeshwar•24m ago•0 comments