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

The Fable 5 Export Controls Harm US Cyber Defense

https://www.lutasecurity.com/post/the-fable-5-export-controls-harm-us-cyber-defense
1•Leary•46s ago•0 comments

We're pausing the Agent SDK credit change (Antrhropic)

1•TIPSIO•1m ago•0 comments

The Fable takedown: what happened when, what we know, what comes next

https://thezvi.substack.com/p/the-once-and-future-fable-2
1•maxutility•1m ago•0 comments

Xavier Leroy's New Book on Control Structures in Programming

https://xavierleroy.org/control-structures/book/index.html
1•birdculture•2m ago•0 comments

Covid vaccination cut risk of adverse heart events, large study finds

https://www.statnews.com/2026/06/15/covid-vaccination-cardiovascular-protection-jama-study/
1•brandonb•3m ago•0 comments

Flip TABLE: storing arbitrary data in iNaturalist

https://exclav.es/2026/06/13/flip-table-storing-arbitrary-data-in-inaturalist/
1•evakhoury•5m ago•0 comments

A Chinese rocket breaks apart dangerously close to the Starlink constellation

https://arstechnica.com/space/2026/06/a-chinese-rocket-breaks-apart-dangerously-close-to-the-star...
2•bookmtn•5m ago•0 comments

AI's Brokenomics

https://www.wheresyoured.at/brokenomics/
2•7777777phil•6m ago•0 comments

Map Clustering Is Not My Favorite

https://blog.greg.technology/2026/06/12/map-clustering-is-not-my-favorite.html
1•evakhoury•6m ago•0 comments

Git is not great for deployment configuration

https://medium.com/@jesperfj/git-is-not-great-for-deployment-configuration-b1bbad7a5428
1•RyeCombinator•7m ago•0 comments

Show HN: Understand and reduce token usage with ContextSpy context profiler

https://github.com/RimantasZ/contextspy
1•iezhy•7m ago•0 comments

Flock Misappropriates MythBusters

https://ipvm.com/reports/flock-mythbusters
3•jhonovich•7m ago•0 comments

What is a human? A miserable little pile of clades

http://approximateknowledge.net/misc/2026/06/13/clades.html
1•evakhoury•9m ago•0 comments

Prtokens – See how much AI agent tokens cost a PR

https://github.com/SamuelZ12/prtokens/
1•SamuelZ12•12m ago•0 comments

Netflix has an ambitious milestone in sight for 2027

https://www.thestreet.com/investing/stocks/nflx-stock-netflix-has-a-stunning-milestone-in-sight-f...
1•andsoitis•12m ago•0 comments

Microsoft sued by shareholders over expenses, cloud business, AI

https://www.reuters.com/business/microsoft-sued-by-shareholders-over-expenses-cloud-business-ai-2...
4•onemoresoop•12m ago•0 comments

US connected-car rule prompts Ford, to seek licenses for China-built models

https://www.reuters.com/business/autos-transportation/us-connected-car-rule-prompts-ford-other-au...
2•onemoresoop•14m ago•0 comments

Boost Game – retro game where terrain is generated by SIMD kernel computation

https://boost.modular.com/
1•timmyd•14m ago•0 comments

Show HN: StarScope – Free astronomy dashboard for observers outside the US/UK

https://starscope.live/feed
1•xenophin•15m ago•0 comments

FreeBSD 15 on a Laptop

https://www.sacredheartsc.com/blog/freebsd-15-on-a-laptop/
2•cullumsmith•16m ago•1 comments

Nixpkgs Cooldowns

https://determinate.systems/blog/nixpkgs-cooldown/
3•jmartens•16m ago•0 comments

Flame (Malware)

https://en.wikipedia.org/wiki/Flame_(malware)
1•hyperific•17m ago•0 comments

Ask HN: What have you built with Claude Managed Agents?

1•david_shi•18m ago•0 comments

Show HN: A directory for Discord and Telegram bots

https://botyard.in
1•njac•18m ago•0 comments

American Dads Rock: Fathers Are Doing More At Home Than Ever

https://ifstudies.org/blog/american-dads-rock-fathers-are-doing-more-at-home-than-ever
1•Anon84•19m ago•0 comments

Tech's World Cup Takeover

https://betakit.com/techs-world-cup-takeover/
1•builtbystef•20m ago•0 comments

Hyperglycosylation is a metabolic driver of Alzheimer's disease

https://www.nature.com/articles/s42255-026-01538-4
2•bookofjoe•20m ago•0 comments

CloudBridge – A zero-trust, egress-only network mechanism [video]

https://www.youtube.com/watch?v=u6HMpf3h4Fo
1•gowthamsadasiva•22m ago•1 comments

OptinMonster supply chain attack hits 1.2M WordPress sites

https://sansec.io/research/optinmonster-supply-chain-attack
1•gwillem•22m ago•0 comments

FBI disrupts AI-powered phishing service using a million URLs

https://www.bleepingcomputer.com/news/security/fbi-disrupts-massive-ai-powered-phishing-service-u...
3•devonnull•22m ago•0 comments