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

The Invisible Cliff: AI Development and Architectural Debt

https://mynock.substack.com/p/the-invisible-cliff-ai-development
1•mynock•29s ago•0 comments

Show HN: AI-Mirror

https://aimirror.dev/
1•michaelcuneo•1m ago•0 comments

Annotations in Xeno-Canto

https://xeno-canto.org/article/318
1•kiproping•1m ago•0 comments

1940 Air Terminal Museum Begins Liquidation

https://www.1940airterminal.org/news/liquidation-of-simulators
1•weaponeer•4m ago•0 comments

RL Doesn't Work on Slurm

https://blog.skypilot.co/rl-doesnt-work-on-slurm/
2•covi•5m ago•0 comments

Show HN: Mechs.lol – a free, web-based autoshooter game

https://mechs.lol
1•spaceships•5m ago•0 comments

Liberating the public art on L.A.'s light rail lines (2021)

https://palewi.re/posts/2021/05/09/public-art-on-la-light-rail-line/
1•c-shubh•7m ago•0 comments

Curly braces: An evolution of Unix and C

https://thalia.dev/blog/unix-braces/
2•adunk•8m ago•0 comments

Show HN: SnapMeasureAI – Accurate 3D body measurements from photos, no hardware

https://snapmeasureai.com/
1•yuridoug•10m ago•0 comments

Is Machine Learning still worth learning in 2026?

https://www.dataschool.io/is-machine-learning-worth-learning/
2•dataschool•11m ago•0 comments

University Endowments Reap Windfalls from SpaceX, OpenAI, LinkedIn IPOs

https://www.bloomberg.com/news/articles/2026-05-21/spacex-fuels-more-than-3-000-return-for-washin...
1•gmays•11m ago•0 comments

Chain Reactions: How Nonce Collisions in Ecdsa Compromise Polygon MEV Searchers

https://arxiv.org/abs/2605.21498
1•Brajeshwar•12m ago•0 comments

Ask HN: What's New in Crypto?

1•kaycebasques•14m ago•0 comments

Lawmakers Demand Answers as CISA Tries to Contain Data Leak

https://krebsonsecurity.com/2026/05/lawmakers-demand-answers-as-cisa-tries-to-contain-data-leak/
2•speckx•15m ago•1 comments

Tell HN: The Threat to US Citizen's ID / Voting Is Private Services

1•m3047•15m ago•1 comments

Show HN: Accurate body measurements from two images

https://demo.snapmeasureai.com/
1•yuridoug•19m ago•0 comments

Backtesting 500 weather-market bots on Kalshi

https://www.turbinefi.com/blog/500-weather-strategy-backtest-kalshi-new-york-temperature
1•adamewozniak•20m ago•0 comments

Suspected Ebola cases triple in a week as WHO warns of rapid spread in DRC

https://www.theguardian.com/global-development/2026/may/22/suspected-ebola-cases-triple-in-a-week...
2•bookofjoe•21m ago•0 comments

You can no longer Google the word 'disregard'

https://techcrunch.com/2026/05/22/you-can-no-longer-google-the-word-disregard/
4•coloneltcb•22m ago•2 comments

Why is it so hard to find affordable child care?

https://www.washingtonpost.com/opinions/2026/05/20/child-care-dc-is-too-expensive-my-experience-s...
2•bko•23m ago•2 comments

Foobar

2•cresce_shen•24m ago•0 comments

How do AI chips work? [video]

https://www.youtube.com/watch?v=oIk3R-sMX5o&list=PLd7-bHaQwnthaNDpZ32TtYONGVk95-fhF&index=1
1•tosh•24m ago•0 comments

Reiner Pope – Chip design from the bottom up

https://www.dwarkesh.com/p/reiner-pope-2
1•crescit_eundo•25m ago•0 comments

Oops I ran the tests on prod

https://chetan343.substack.com/p/oops-i-ran-the-tests-on-prod
2•TheChetan•25m ago•0 comments

Get Clamped: Unwinding Some Difficult CSS History

https://bkardell.com/blog/GetClamped.html
1•speckx•25m ago•0 comments

A Comparative Security Analysis of Three Cloud-Based Password Managers

https://eprint.iacr.org/2026/058
1•Shank•26m ago•0 comments

Planescape: Torment, Part 1: From the Tabletop

https://www.filfre.net/2026/05/planescape-torment-part-1-from-the-tabletop/
2•doppp•27m ago•0 comments

An Infinitely Long Sentence Made of Just One Word [video]

https://www.youtube.com/watch?v=ejgyHIClRoU
1•dsr12•27m ago•0 comments

State of AI 2026

https://2026.stateofai.dev/en-US
1•gmays•29m ago•0 comments

Show HN: Darnix – Darwin Built with Nix

https://github.com/jonhermansen/darnix
4•jonhermansen•30m ago•1 comments