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

Nixpkgs is now on Radicle – the distributed forge

https://radicle.network/nodes/index.radicle.garden/rad%3Az3StaJpzQNGhhkPfhCtRxSmNZZpu9
1•h1watt•1m ago•0 comments

OpenAI agents used dead web site to communicate in May, well before HF incident

https://www.theregister.com/ai-and-ml/2026/09/04/rogue-openai-agents-used-dead-german-web-site-to...
1•mdp2021•1m ago•0 comments

Pogo – a Django ORM language server (LSP) for completion, hover, and diagnostics

https://github.com/amirhasanzadehpy/Pogo
1•amirhasanzadehp•5m ago•0 comments

I Changed My License

https://bergie.iki.fi/blog/eupl/
1•bergie•5m ago•0 comments

The status and science of the LZ dark matter experiment

https://lz.lbl.gov/
2•throw315•11m ago•1 comments

A browser-based circle and dome planner for Minecraft builders

https://pixelcirclebuilder.com
1•charlesgoodman•13m ago•0 comments

What Will Be Scarce?

https://aleximas.substack.com/p/what-will-be-scarce
1•andsoitis•13m ago•0 comments

Treating Token Consumption as a First-Class Engineering Discipline

https://github.com/theagentplane/tokenops
4•agentplane•18m ago•0 comments

After Work, We'll Have Each Other

https://asteriskmag.com/issues/15/after-work-we-ll-have-each-other
1•jger15•23m ago•0 comments

How to Accidentally Find 3M Missing People in Argentina [video]

https://www.youtube.com/watch?v=FwLLs1E-sao
1•marklit•25m ago•0 comments

Ask HN: What did you achieve with GPT 6 Astra so far?

1•Mooty•26m ago•1 comments

Shared Memory Consistency from Scratch Part 1: Causality

https://allthoughts.me/blog/shared-memory-consistency-from-scratch-part1/
1•mmozeiko•29m ago•0 comments

Releasing Execution Contexts in Crystal

https://crystal-lang.org/2026/07/12/releasing-execution-contexts/
2•TheWiggles•30m ago•0 comments

What would the last software engineer still need to do?

https://www.coderabbit.ai/blog/the-last-software-engineer-knows-what-to-build
2•Bluestein•31m ago•0 comments

Am I missing something? Is programatically sending SMS globally this bad?

https://chatgpt.com/share/6a9bcd2b-ab9c-83ec-8f26-26a2c85f2ca8
1•nomilk•31m ago•3 comments

How I made Rustdoc 33% faster in one week

https://noahlev.org/blog/2026/08/27/making-rustdoc-faster/
1•birdculture•38m ago•0 comments

AI handles incidents, engineers lose touch with their systems

https://www.sylvainkalache.com/blog/ai-handles-incidents-engineers-lose-touch-with-their-systems
15•sylvainkalache•45m ago•2 comments

Phaseone[big] explains why you should trust OpenAI

https://twitter.com/transitive_bs/status/2096134662246855089
1•transitivebs•47m ago•1 comments

Another Heart Drug Fails, Surprising Cardiologists

https://www.nytimes.com/2026/09/04/science/heart-drug-fails-novartis-pelacarsen.html
2•brandonb•51m ago•0 comments

How the Shell Works [video]

https://www.youtube.com/watch?v=hV3_XZXeDQo
2•vismit2000•52m ago•0 comments

I wrote a VM for Mac to run Windows and Linux, both on iOS

https://github.com/theghostshinobi/SMOKE
3•ghostshinobi•1h ago•0 comments

From Pig to Patient: A First-in-Human Kidney Xenotransplant Bridge

https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(26)01295-X/abstract
1•signa11•1h ago•0 comments

Sugar Reset ReviEwS (2026): We Tried It My Honest Review

https://finance.yahoo.com/healthcare/articles/sugar-reset-drops-introduces-sugarreset-150000696.html
1•gayzsahy•1h ago•0 comments

Bun v1.4.2

https://bun.com/blog/bun-v1.4.2
1•ErenayDev•1h ago•0 comments

Show HN: ForgeGuardian – Open-source software supply-chain security scanner

https://github.com/Mah3Sec/ForgeGuardian
1•mahi1337•1h ago•0 comments

'coarse – AI peer review, of course (MIT license)

https://coarse.ink/
1•idw•1h ago•1 comments

OpenROAD: Open-source toolchain for Chip Design

https://openroad.org
1•firefoxd•1h ago•0 comments

Important MikroTik RouterOS security update

https://forum.mikrotik.com/t/important-security-update/272851
1•ricardbejarano•1h ago•0 comments

UN approves new world map [video]

https://www.youtube.com/watch?v=iHkMK4n925c
1•gurjeet•1h ago•1 comments

SilentPatch 2026 Update

https://silentsblog.com/2026/07/31/silentpatch-2026-update/
1•toilet•1h ago•0 comments