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

Show HN: RustPost – Self-hosted mail suite in a single Rust binary (AGPL)

https://www.rustpost.org/en/
1•jorgecis•1m ago•0 comments

DuckDB Scales: DuckDB for the Long-Tail of Workloads

https://ducklabs.com/news/2026/12/01/duckdb-scales
1•kermatt•6m ago•0 comments

1.51M parameter Transformer trained from scratch inside Ring-0 TempleOS v5.03

https://github.com/veriepicc/Elijah
1•hsnewman•9m ago•0 comments

OpenMono: The open-source mono font

https://openmono.com/
2•hn-aarvin•14m ago•0 comments

Show HN: BannedWhere – scan a US food barcode, see what Europe (EU) bans in it

https://bannedwhere.com
1•spacecommander•20m ago•0 comments

Warren Buffett Dies at 96

https://www.foxbusiness.com/business-leaders/warren-buffett-billionaire-investor-who-built-berksh...
1•emrah•21m ago•2 comments

Linear Regression and Gradient Descent from Scratch (PyTorch, Video Lecture)

https://www.youtube.com/watch?v=D8Exwj1_yEQ
1•lochanjangid•24m ago•0 comments

Show HN: Red Yarn Reader, a static, self-hostable screenplay viewer for the web

https://redyarnreader.kyefox.com
1•Kye•24m ago•0 comments

DOJ Sent Subpoenas to Nvidia for Help in Chip Smuggling Probes

https://news.bloomberglaw.com/tech-and-telecom-law/doj-sent-subpoenas-to-nvidia-for-help-in-chip-...
1•mfiguiere•25m ago•0 comments

Salazar vs. Paramount Global

https://www.oyez.org/cases/2026/25-459
1•stygiansonic•25m ago•0 comments

Hledger v2.0

https://github.com/hledgerorg/hledger/releases/tag/2.0
2•olexsmir•27m ago•0 comments

AI-Written SQL (and Stored Procedures) from "Works" to "Trusted"

https://github.com/SPLWare/SQLazy/blob/master/AI-Written%20SQL%20%20From%20%E2%80%9CWorks%E2%80%9...
1•Judyrabbit•30m ago•0 comments

Show HN: Spend Warren Buffett Money – In Tribute to the Oracle of Omaha

https://spendwarrenbuffettmoney.com/
1•humphrey_liu•30m ago•0 comments

Repository Is Maintained by the New Official Heretic Community

https://github.com/Vinay-Umrethe/heretic
2•jacquesm•33m ago•0 comments

What I Learned Building a Static Site Generator in Rust

https://reverentgeek.com/what-i-learned-building-a-static-site-generator-in-rust/
1•reverentgeek•36m ago•0 comments

Explain How Agent Harnesses Work with Graph

https://gangtao.github.io/how_harness_works/
1•gangtao•37m ago•0 comments

November Digest of HCS

https://higher-categorical-semantics.pages.dev/announcements/digest-2026-11
1•measurablefunc•42m ago•0 comments

Easl – Enhanced Abstraction Shader Language

https://easl-lang.org/
2•camilleroux•45m ago•0 comments

State of email and domain security in the topk sites (December 2026)

https://httpfy.io/research/email-security-2026-12
1•samso26•46m ago•0 comments

I ported my Vulkan game engine to macOS in one day

https://gamesbymason.com/blog/2026/porting-nyc-to-macos/
1•birdculture•51m ago•0 comments

Barbie smartwatch with calorie counter sparks eating disorder fears

https://www.theguardian.com/technology/2026/dec/02/barbie-smartwatch-eating-disorder-fears-calori...
2•thunderbong•52m ago•0 comments

When your kids cut snowflakes this December, teach them prime factorization

https://moultano.wordpress.com/2026/05/01/cutting-snowflakes-and-prime-factorization/
1•moultano•53m ago•0 comments

The Next Way to Talk to A.I. Might Be Not Talking at All

https://www.nytimes.com/2026/12/01/technology/tacit-ai-dictation.html
1•nreece•57m ago•0 comments

What do your MCP tools cost your agent before it starts?

https://github.com/Egoushka/switchboard
1•nimus•1h ago•0 comments

Ask HN: What do you think of this YouTube AI slop ad I was just served? [video]

https://www.youtube.com/watch?v=ASPimIeI-_8
2•godwinson__4-8•1h ago•3 comments

Anthropic: A Commodity Priced as a Monopoly

https://seekingalpha.com/article/4972648-anthropic-a-commodity-priced-as-a-monopoly
2•andsoitis•1h ago•2 comments

Fluxer is a free, open-source Discord alternative

https://fluxer.com
2•pentagrama•1h ago•0 comments

AWS Continuum for software supply chain (Preview)

https://aws.amazon.com/about-aws/whats-new/2026/12/continuum-software-supply-chain-preview/
1•yackrru•1h ago•0 comments

Code-driven AI illustrations are more useful than images from image models

https://simonwillison.net/2026/Nov/28/code-driven-ai-illustrations/
10•gmays•1h ago•2 comments

Perplexity fends off some claims in Amazon lawsuit over AI shopping agents

https://www.reuters.com/legal/government/perplexity-fends-off-some-claims-amazon-lawsuit-over-ai-...
1•ComputedCamp995•1h ago•0 comments