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

Challenging Caveman

https://pi-infected.github.io/token-harness-optimizer-leaderboard/
1•Tokenade•1m ago•1 comments

Female US rower completes historic solo journey from California to Hawaii

https://www.theguardian.com/us-news/2026/jul/04/california-hawaii-rowing-solo-journey
1•dwa3592•1m ago•0 comments

Self-hosted email client with an AI agent, running on Cloudflare Workers

https://github.com/cloudflare/agentic-inbox
1•Brajeshwar•4m ago•0 comments

Building your own electric motor – The Secret Genius of Modern Life(2023)[video]

https://www.youtube.com/watch?v=LoSGSawJCO0
1•thelastgallon•5m ago•0 comments

Hey YouTube WTF Is This?

https://www.youtube.com/watch?v=RIiKGoYXHVs
1•tcp_handshaker•6m ago•0 comments

Blog with AI Auto Poster

2•david3289•8m ago•0 comments

CNN Lite

https://lite.cnn.com
3•empressplay•8m ago•0 comments

My road trip with the do-gooding cactus smugglers

https://economist.com/1843/2026/03/06/my-road-trip-with-the-do-gooding-cactus-smugglers
3•andsoitis•12m ago•0 comments

I built an AI that diagnoses PagerDuty incidents and posts fixes to Slack

https://wjhowland376-code.github.io/Pulse/
2•Pulse-AI•13m ago•0 comments

Solving Sudoku in Pure SQL

https://www.dbpro.app/blog/sudoku-in-pure-sql
2•upmostly•14m ago•0 comments

Need feedback to a simple game I build for my startup regarding PMF

https://www.specky.space/specbench/play
2•fshalaby•15m ago•1 comments

Deterministic Simulation Testing in Go with Synctest

https://guidobattiston.com/posts/dst-go/
2•unyieldingsys•16m ago•0 comments

Solving Santa Claus Puzzle with a Model Checker

https://wyounas.github.io/puzzles/concurrency/2026/01/10/how-to-help-santa-claus-concurrently/
2•simplegeek•17m ago•0 comments

What's YOUT Famuly's Story?

https://markmbello.substack.com/p/welcome-to-our-founding-issue
2•lawsuitllc•17m ago•0 comments

Why do u check my website but dont register

https://www.surgeos.app/
2•yernururu•18m ago•1 comments

AI models should reason, tools should execute (Utilix)

https://www.utilix.tech/
2•negiadventures•22m ago•0 comments

How railway timetables became Unix time

https://parksb.github.io/en/article/39.html
2•parksb•24m ago•0 comments

Tech firms are blaming AI for device and console price rises

https://www.bbc.com/news/articles/cd95k584pzqo
5•geox•24m ago•0 comments

HTML as a native data format for LLMs

https://www.lightningjar.com/blog/ast-as-html
2•kevinpeckham•25m ago•0 comments

Avoiding SQLite Database Locks in Production

https://www.bendangelo.me/2026/07/04/avoiding-sqlite-database-locks-in-production/
2•Brajeshwar•26m ago•0 comments

Organic Maps

https://organicmaps.app/
23•tosh•28m ago•4 comments

GitButler in the Terminal

https://lucasaguiar.xyz/en/posts/gitbutler-terminal-cli-tui-2026/
2•isfttr•34m ago•0 comments

Free M&A Encyclopedia

https://mnapedia.com/
4•anongoogleuser•36m ago•0 comments

HNP-Sum: Hidden Number Problem with Small Unknown Multipliers in Python

https://leetarxiv.substack.com/p/hnp-sum
2•theanonymousone•36m ago•0 comments

The Erasure of Interaction

https://read.misalignedmag.com/the-erasure-of-interaction-f41e6bea7d1b
2•lcubw•36m ago•0 comments

Over 140k maps of all kinds

https://www.davidrumsey.com/
2•momentmaker•40m ago•0 comments

Show HN: A pipeline that writes courses and adversarially reviews them

https://purrlearn.com
2•nirolee•42m ago•0 comments

PEP 836: JIT Go Brrr: The Path to a Supported JIT Compiler for CPython

https://discuss.python.org/t/pep-836-jit-go-brrr-the-path-to-a-supported-jit-compiler-for-cpython...
3•lumpa•51m ago•0 comments

Run Windows 2000 on a DEC Alpha with a new es40 fork

https://raymii.org/s/blog/Run_Windows_2000_for_Dec_Alpha_on_a_new_es40_fork.html
3•jandeboevrie•55m ago•0 comments

Hi, I am a 10 years old kid and made a Cool app

https://yf-profitable-strats.streamlit.app/
3•Yamaan_Faraz•59m ago•3 comments