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

Satellite Surge in the Night Sky: An interactive look at orbit density

https://naturnacht-fulda-rhoen.de/wp-content/uploads/2026/07/satelliten-himmel-i18n.html
1•ptrsrtp•2m ago•0 comments

Why Toolmaking Is the Most Effective Way of Learning

https://medium.com/@subairui/coding-on-principle-toolmaking-is-the-most-effective-way-of-learning...
1•subairui•3m ago•1 comments

Show HN: Leafwright – Generate PDFs without running headless Chrome

https://leafwright.co
1•alejoestela•3m ago•0 comments

Which Bazel tests are affected? Ask the remote cache, run nothing

https://aspect.build/blog/selective-testing-with-cache-diff
1•shelbyte•5m ago•0 comments

LiberSystem – A capability-based microkernel OS written in Rust

https://libersystem.com/
1•klez•6m ago•0 comments

Loop Engineering's Missing Half

https://x.com/nsankar/article/207382099687713997
1•sankarn_ai•6m ago•0 comments

And Then the Billionaire Paid Off $550 Million of Our Debts

https://idiallo.com/blog/billionaire-paid-off-550-million-dollars-of-our-debts
1•Brajeshwar•7m ago•0 comments

What is wrong with AI services businesses

1•rcarrol6•8m ago•0 comments

Fable Built Thomas Jefferson's Rotating Bookstand

https://jefferson-bookstand.vercel.app
1•mikemangialardi•10m ago•0 comments

Can geoengineering blunt El Niño's fury?

https://www.sciencenews.org/article/geoengineering-el-nino-extremes
1•littlexsparkee•12m ago•0 comments

Miles: A PyTorch-Native Stack for Large-Scale LLM RL Post-Training

https://pytorch.org/blog/miles-a-pytorch-native-stack-for-large-scale-llm-rl-post-training/
1•gmays•13m ago•0 comments

Solomon's Paradox

https://en.wikipedia.org/wiki/Solomon%27s_paradox
1•ike_usawa•13m ago•0 comments

An Inside Look at the UK's Largest Illegal Rave – UK TEK 2026 [video]

https://www.youtube.com/watch?v=FNnTaIHXqDs
1•mxmilkiib•15m ago•0 comments

Show HN: Axiom-02 – Deterministic engine modeling cognitive dissonance

https://github.com/Zierax/Axiom-02
1•Zierax•17m ago•0 comments

Meta tests always-on 'super sensing' mode for next Ray-Bans

https://aiweekly.co/alerts/meta-tests-always-on-super-sensing-mode-for-next-ray-bans
1•ortusdux•17m ago•0 comments

In Linux, things are often upside down

https://www.dedoimedo.com/computers/linux-upside-down.html
1•speckx•18m ago•0 comments

Ukrainian Navy Reveals Unknown Underwater Drone (UUV)

https://www.hisutton.com/Ukrainian-Navy-Underwater-Drone.html
2•EA-3167•18m ago•1 comments

Meta tests 'super sensing' AI glasses that can capture every moment

https://www.ft.com/content/ac282450-91a8-4597-8f60-9e6ef416865a
1•ortusdux•18m ago•0 comments

Show HN: MacPad – a tiny macOS Notepad.exe-style editor

https://github.com/anvilfilbert/MacPad
1•anvilfilbert•18m ago•1 comments

Dreams and Nightmares: John Berryman's fresh idiom

https://harpers.org/archive/2026/07/dreams-and-nightmares-rosanna-warren-berryman/
1•Caeiro•21m ago•0 comments

AI-Enhanced Writing

https://enocc.com/blog/2026-04-09-on-ai-enhanced-writing.html
1•nyoki•22m ago•0 comments

Cursorbench: Grok 4.5 better than GPT-5.5, at ~half the cost

https://cursor.com/cursorbench
1•j-bu•22m ago•0 comments

The Agent Operating System

https://librefang.ai/
2•chris_st•22m ago•0 comments

Flock Cameras Wrongly Tracked Me for Days over 'Stolen' Plates

https://www.thedrive.com/news/how-flock-cameras-wrongly-tracked-me-for-days-over-stolen-plates-an...
3•xup•23m ago•0 comments

Show HN: Moo, Git versions code, moo versions machines

https://github.com/heyito/moo
3•dumbfoundded•23m ago•0 comments

OpenMandriva: Statement regarding attempted distribution sabotage

https://forum.openmandriva.org/t/statement-regarding-attempted-distribution-sabotage/8997
1•workethics•24m ago•0 comments

Show HN: A YC/PG Essays Directory Roadmap

1•hamzabinmubeen•25m ago•0 comments

Show HN: Open-source GUI for editing 3D molecular structures with diffusion

https://github.com/DeepFoldProtein/patchr
2•delibae•25m ago•0 comments

A back end where you never need migrations or auth code

https://www.monsterwriter.com/building-linkedrecords.html
1•WolfOliver•25m ago•0 comments

15-year-old arrested for unsubscribing over 40k anime accounts

https://mainichi.jp/english/articles/20260706/p2g/00m/0na/012000c
1•01-_-•27m ago•0 comments