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

Pentagon reduces reliance on Anthropic, switches to competitors after clash

https://cryptobriefing.com/pentagon-reduces-anthropic-reliance-competitors/
3•devonnull•1m ago•0 comments

Lutnick's Letter to Anthropic Warned of Curbs on Top AI Models

https://www.bloomberg.com/news/articles/2026-06-16/lutnick-s-letter-to-anthropic-warned-of-curbs-...
1•airstrike•1m ago•0 comments

The Return of the Energy Transition

https://steelforfuel.substack.com/p/the-return-of-the-energy-transition
1•simonebrunozzi•2m ago•0 comments

Leaked Alleged Text of Trump-Iran Deal

https://www.mediaite.com/media/news/read-leaked-alleged-text-of-trump-iran-deal/
1•cf100clunk•2m ago•1 comments

Hillock – Local, brain-inspired AI memory using SQLite and HDC

https://github.com/roandejager/Hillock
1•roandejager•3m ago•0 comments

Build Your Own Eval Harness from Scratch with Bun and Claude -p

https://alexop.dev/posts/build-your-own-eval-harness-bun-claude-p/
1•speckx•3m ago•0 comments

Claude recursive subagents burning hundreds in extra tokens

https://bsky.app/profile/ed3d.net/post/3moggsr47dk2z
2•belkinpower•4m ago•0 comments

Webview – cross-platform HTML5 UI abstraction layer

https://github.com/webview/webview
1•smartmic•4m ago•0 comments

Show HN: VoiceDraw – Talk system design out loud, the diagrams draw themselves

https://voicedraw.com/
3•ajaypanthagani•6m ago•0 comments

Implementing transformative role playing games

https://books.uu.se/uup/catalog/book/55
2•bythreads•6m ago•0 comments

Cascading Tree Sitter Queries

https://github.com/jasper-lyons/ctsq
2•iovrthoughtthis•7m ago•1 comments

Ericsson CEO Ekholm to step down, be replaced by Per Narvinger

https://www.reuters.com/business/ericsson-ceo-step-down-be-replaced-by-per-narvinger-2026-06-16/
2•michalhuman•9m ago•0 comments

Is your company affected by NIS2?

https://nisd2.eu/applicability
2•cjhisey•9m ago•0 comments

Canada Is Building a Surveillance State

https://twitter.com/lucyhargreaves4/status/2066903272271544551
5•arrowsmith•9m ago•0 comments

OpalAI Got Two NASA Contracts to Build AI for Wildfire Intelligence

https://www.opal-ai.com
3•opalai•11m ago•0 comments

VTCLab Media Analyzer v0.6.0 is out

https://media-analyzer.pro/blog/posts/2026-06-16-v0.6.0/
2•ksh2u•11m ago•0 comments

MambAdapter: Lightweight Mamba-Based Adapters for Transfer Learning

https://arxiv.org/abs/2606.15638
2•MediaSquirrel•11m ago•0 comments

Pyinfra – agentless infrastructure automation, in plain Python

https://pyinfra.com
3•birdculture•11m ago•0 comments

Music Labels Win Canadian Site Blocking Order Against YouTube Downloaders

https://torrentfreak.com/music-labels-win-canadian-site-blocking-order-against-y2mate-ytmp3-and-s...
2•Cider9986•12m ago•0 comments

Apparently the Real Reason Anthropic's Models Are Offline: A Six-Year-Old Grudge

https://www.techdirt.com/2026/06/16/apparently-the-real-reason-anthropics-models-are-offline-a-si...
4•cdrnsf•14m ago•0 comments

To Get More Replies, Say Less (2017)

https://www.gkogan.co/increase-reply-rates/
3•downbad_•17m ago•0 comments

Leviathan Waking – On Anthropic/USG, and a new era in AI governance

https://www.hyperdimensional.co/p/leviathan-waking
2•speckx•17m ago•0 comments

Show HN: Dev-friendly native OTel: only OSS stateful, on-the-wire Observability

4•jratkevic•18m ago•0 comments

The Web We Know Is Going to Disappear

https://www.minid.net/2026/6/15/the-web-is-going-to-dissapear
4•taubek•21m ago•0 comments

A technical guide to building your own learning loop

https://twitter.com/GokuMohandas/status/2066853420326384055
3•gokumd•21m ago•0 comments

Inference cost at scale with napkin math

https://injuly.in/blog/napkin-inference-cost/index.html
2•gmays•22m ago•0 comments

Why do we do astrophysics?

https://arxiv.org/abs/2602.10181
2•pcfwik•23m ago•0 comments

Nearly a million passports and photo IDs were unprotected on the public internet

https://www.theverge.com/tech/947157/passports-data-breach-cannabis-club-systems-nefos-puffpal
8•N_A_T_E•24m ago•1 comments

Show HN: Rapunzel – a tree-style tab terminal emulator for Codex Claude Gemini

https://github.com/javaid-codes/rapunzel/tree/main
2•WasimBhai•25m ago•0 comments

My one weird trick for managing my internet addiction

https://scottrogowski.com/my-one-weird-trick-for-managing-my-internet-addiction
3•scottrogowski•25m ago•0 comments