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

Takeaways from "On Writing Well"

https://www.thetrueengineer.com/p/takeaways-from-on-writing-well
1•adletbalzhanov•1m ago•0 comments

China's Current Five-Year Plan to Save Jobs from A.I

https://cn.nytimes.com/china/20260701/china-ai-jobs-birthright-hormuz/
1•tom2026hn•1m ago•0 comments

Show HN: Hacker-News Buddies

1•freakynit•2m ago•0 comments

Happy Independence Day

2•GauntletWizard•6m ago•0 comments

Show HN: Open Kioku – local evidence layer for AI coding agents

https://github.com/shivyadavus/open-kioku
1•shivyadavus•6m ago•0 comments

Wordgard Release 0.1

https://marijnhaverbeke.nl/blog/wordgard-0.1.html
1•birdculture•6m ago•0 comments

Tom Kean got months of paid sick leave – after voting against it for others

https://www.theguardian.com/commentisfree/2026/jul/04/tom-kean-jr-sick-leave-mental-health-depres...
1•petee•7m ago•0 comments

'All men are created equal': America has lost its values. It's time to go back

https://www.theguardian.com/us-news/ng-interactive/2026/jul/04/250-years-declaration-of-independence
1•hkhn•11m ago•0 comments

CTOP – TUI for Monitoring AI Agents

https://github.com/aakashadesara/ctop
3•aakashadesara•11m ago•2 comments

Happy 250th Birthday, America

https://werd.io/happy-250th-birthday-america/
1•benwerd•13m ago•0 comments

Murdoku – Murder mystery meets Sudoku

https://murdoku.com/play/
2•hyperman1•13m ago•0 comments

Show HN: Text to Favicon

https://favicon.run/text-favicon
1•struy•15m ago•0 comments

Tech Fines Tracker

https://proton.me/tech-fines-tracker
1•democracy•16m ago•0 comments

Show HN: VideoPicAI – Create Videos and Images with AI Magic

https://videopicai.com/
1•struy•16m ago•0 comments

Does average person understand that all disc media dies too?

2•kingleopold•17m ago•1 comments

China Is Devastating the Last Stronghold of German Industry

https://www.wsj.com/economy/china-is-devastating-the-last-stronghold-of-german-industry-c7a98514
5•JumpCrisscross•18m ago•0 comments

The New MCP Specification: What Security Teams Must Prepare For

https://www.akamai.com/blog/security-research/new-mcp-specification-security-teams-must-prepare
2•mooreds•19m ago•0 comments

Are MAGA and MAHA Heading for Divorce

https://www.rollingstone.com/politics/politics-features/maha-maga-alliance-fracture-robert-kenned...
2•maxerickson•21m ago•0 comments

How to benchmark persistent repo memory for coding agents

https://autoloops.ai/greplica/blog/benchmarking-greplica/
2•kushalpatil07•22m ago•1 comments

Potential session/cache leakage between workspace instances or consumer accounts

https://github.com/anthropics/claude-code/issues/74066
5•chatmasta•22m ago•0 comments

How working memory could give rise to consciousness

https://www.scientificamerican.com/article/how-working-memory-could-give-rise-to-consciousness/
4•bookofjoe•23m ago•3 comments

A martian rock has lots of carbon on it, and it's not clear why

https://arstechnica.com/science/2026/07/a-martian-rock-has-lots-of-carbon-on-it-and-its-not-clear...
4•Brajeshwar•26m ago•0 comments

Warner bill would create federally vetted list for secure, trustworthy AI agents

https://cyberscoop.com/ai-agent-act-senate-draft-bill-mark-warner/
3•softwaredoug•26m ago•1 comments

One engine, many tools – Introducing Rubydex

https://railsatscale.com/2026-05-12-one-engine-many-tools/
1•frou_dh•30m ago•0 comments

Fake AI Agent Skill Slipped Past Every Scanner

https://www.csoonline.com/article/4188840/how-a-malicious-ai-agent-skill-passed-security-checks-a...
2•shivamthange•31m ago•0 comments

Thinking about buying a Prusa 3D printer?

https://bambu3design.com/prusa-summer-sale-2026-mk4s-gets-up-to-20-off-core-one-shipping-discount/
2•ehsanamel•31m ago•0 comments

Write Code, Not Specs

https://softwaredoug.com/blog/2026/07/04/write-code-not-specs
2•softwaredoug•32m ago•0 comments

BitTorrent's disastrous, legendary, and controversial story

https://www.theverge.com/tech/959848/bittorrent-story-25-years-piracy
2•blakesterz•34m ago•1 comments

Cultural effects of the Western African Ebola virus epidemic

https://en.wikipedia.org/wiki/Cultural_effects_of_the_Western_African_Ebola_virus_epidemic
2•YeGoblynQueenne•35m ago•0 comments

Show HN: Quick and dirty inter-agent collaboration

https://github.com/ovidiuiliescu/simpleagentchat
2•ovvyblabla•36m ago•0 comments