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

Lessons from Reducing My Coding Agent's LLM API Costs

https://medium.com/@chuanweipeng5/where-my-llm-api-bill-actually-went-and-how-i-cut-it-f10158329c5c
2•AnneWodell•2m ago•0 comments

There Are Magic Hexagons of Every Order

https://gukov.dev/math/2026/08/02/new-magic-hexagons.html
1•gukoff•3m ago•0 comments

Lake Mead hits historic low water level as Colorado River struggles

https://apnews.com/article/colorado-river-lake-mead-record-low-fa402842e76ed624f71360f467b2579d
2•geox•5m ago•0 comments

Real History of Christmas: Why December 25th

https://thehistoricalinsights.page/2026/07/real-history-of-christmas-december-25.html
2•historical1234•7m ago•0 comments

A new alloy turned up in a grain of sand from Hiroshima Bay

https://boingboing.net/2026/08/08/hiroshima-blast-alloy.html
1•zeristor•18m ago•0 comments

The Excellent HP OmniBook 5 Is $550 Off Its Retail Price Today

https://www.wired.com/story/hp-omnibook-5-50-percent-off/
1•joozio•21m ago•0 comments

Agents feel free to take desktop screenshots?

https://wecreatethis.com/misc/agent-starts-taking-screenshots-on-auto-mode
2•jameswhitford•22m ago•1 comments

Open-source federated AI framework for Space Solar power routing

https://github.com/WVGlobal/Planetary-Energy-Routing-Protocol
1•WVGlobal•24m ago•0 comments

Delta Passed on Starlink Wi-Fi. United and Virgin Atlantic Are Seeing the Payoff

https://www.inc.com/connor-jewiss/delta-passed-on-starlinks-fast-in-flight-wi-fi-united-and-virgi...
2•mlindner•25m ago•0 comments

Trump drops BBC's commercial arm from Panorama lawsuit, but main case remains

https://www.bbc.co.uk/news/articles/cly5wyynv9zo
3•Lio•27m ago•0 comments

3D sightlines preview of August 12 eclipse

https://eclipse-sightlines.david-stolarsky.chatgpt.site/
1•gimlids•27m ago•1 comments

Show HN: Gola – a radial launcher for Windows that opens under your cursor

https://apps.microsoft.com/detail/9nghfh4j7jmd?hl=en-US&gl=US
1•gsl0001•29m ago•0 comments

Elixir's GenStage Demand, a visual explainer

https://andrealeopardi.com/posts/genstage-demand-visualized/
3•lawik•30m ago•0 comments

The Mystery of the Flying Discs by Meade Layne (1948-1949)

https://archive.org/details/bsra-the-mystery-of-the-flying-disc-1948-2nd-printing
1•XzetaU8•31m ago•0 comments

Apple says Mac users in China can connect to Alibaba's Qwen AI service

https://www.reuters.com/business/retail-consumer/apple-says-mac-users-china-can-connect-alibabas-...
4•1659447091•32m ago•0 comments

GSoC Port the Enlightenment desktop environment to NetBSD

https://blog.netbsd.org/tnf/entry/gsoc2026_enlightenment
1•jaypatelani•33m ago•0 comments

Guadec 2026: A new stack for GNOME systems components

https://www.youtube.com/watch?v=2pWVbXF7hIY
2•pjmlp•34m ago•1 comments

#1 Undetectable Humanizer – Humanizetoday.com – Free – Unlimited – No Sign Up

https://humanizetoday.com/
1•Harley_Chu•37m ago•0 comments

celld: Self-hosted, distributed Durable Objects

https://celld.dev/
4•tosh•40m ago•0 comments

The DIVIDUAL STRIKES BACK – why nothing and everything is your fault

https://nonzerosum.games/dividualstrikesback.html
1•Garbage•44m ago•0 comments

The first self-driving vehicle on Mars has proven to be a smashing success

https://arstechnica.com/space/2026/08/the-first-self-driving-vehicle-on-mars-has-proven-to-be-a-s...
4•jnord•44m ago•1 comments

Taliban Administration Announces South Asia Internet Transit Through Afghanistan

https://atlaspress.news/en/2026/08/01/taliban-south-asia-internet-transit-afghanistan/
3•walrus01•45m ago•0 comments

I built a failover daemon for Vast.ai spot GPUs, found 5 real bugs testing it

https://github.com/enplabs/spotwarp
1•choi5844•47m ago•0 comments

Agentcn – Installable AI Agents

2•anayat•1h ago•0 comments

Show HN: I ran 1.3M simulations to fix trade AI in my browser Basketball GM

https://hoops-gm.com/
1•otbasketball•1h ago•0 comments

Ask HN: How do you use claude code / codex at work for your enterprise?

1•surajkrajan•1h ago•2 comments

Startup Equity Survival Guide: what can go wrong with your equity before an IPO

https://github.com/huanghe/startup-equity-guide
2•hahaxixicc•1h ago•0 comments

Amimcp – let Claude work on your Amiga

https://github.com/thomas-luebker/amimcp
1•nickt•1h ago•0 comments

Show HN: AppPage – Fix Instagram blocking App Store links in your bio

https://apppage.co/
3•maulikdhameliya•1h ago•0 comments

Leopold Aschenbrenner Turned $100M into $45B Betting on AI – It Almost Blew Up [video]

https://www.youtube.com/watch?v=mJhGRim2MWY
2•mgh2•1h ago•0 comments