frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Maintaining code quality with widespread AI coding tools?

3•raydenvm•17h 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•17h 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•17h ago
Thanks for sharing! Never heard of claimify, already looking into it...
furrball010•14h 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•13h ago
Yeah, more code in the same amount of time. And then it is tough to find more time for code review
sargstuff•9h 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

Surgical Knee Denervation for Treatment of Pain Caused by Primary Osteoarthritis

https://lww.com/_layouts/1033/OAKS.Journals/Error/JavaScript.html
1•bookofjoe•4m ago•0 comments

Migrating to Codeberg

https://guix.gnu.org/blog/2025/migrating-to-codeberg/
1•todsacerdoti•5m ago•0 comments

Continuous Thought Machines

https://pub.sakana.ai/ctm/
1•hardmaru•5m ago•0 comments

Larry Weed's Internal Medicine Grand Rounds (1971) [video]

https://www.youtube.com/watch?v=qMsPXSMTpFI
1•akkartik•7m ago•0 comments

US Copyright Office Has Thoughts on AI. Big Tech May Not Like It

https://www.businessinsider.com/ai-training-copyright-laws-big-tech-fair-use-openai-meta-2025-5
1•walterbell•10m ago•0 comments

Show HN: I Built Remind Me AI. It's Like Unlimited GPT Tasks. Try the Demo

https://app.arcade.software/share/PrR3lG51cRjJkk6vEz3R
1•ShawnBuilds•21m ago•0 comments

How to Think Like Leonardo da Vinci

https://www.artofmanliness.com/character/advice/think-like-da-vinci/
1•kamphey•25m ago•0 comments

Bios Boot to D

https://theartofmachinery.com/2017/01/24/boot_to_d.html
1•teleforce•26m ago•1 comments

Network Evaluation Service

https://github.com/hendemic/network-eval-service
1•gregsadetsky•29m ago•0 comments

Ask HN: Anyone Go to Stripe Sessions?

1•kamphey•36m ago•0 comments

DIY solar launches in US – no installers or permits needed

https://www.zdnet.com/home-and-office/energy/ecoflows-new-backyard-solar-energy-system-starts-at-599-no-installation-crews-or-permits-needed/
1•jakestein•37m ago•0 comments

A conversation with Jony Ive [video]

https://www.youtube.com/watch?v=wLb9g_8r-mE
1•kamphey•38m ago•0 comments

Developers as Suppliers

https://daringfireball.net/linked/2025/05/10/benedict-evans-apple-developers-as-suppliers
3•smugma•38m ago•0 comments

Intellect-2 Release: The First 32B Model Trained Through Globally Distributed RL

https://www.primeintellect.ai/blog/intellect-2-release
2•Philpax•40m ago•0 comments

This Linux trick will blow your mind [video]

https://www.youtube.com/watch?v=248Q1kusVy0
2•levont•44m ago•0 comments

Show HN: Parsie – A Google Sheets Add-On to Extract Data from Any Documents

https://workspace.google.com/marketplace/app/advanced_ocr_extract_text_numbers_and_ta/386593592681
2•alicele27•44m ago•0 comments

Python lib generates its code on-the-fly based on usage

https://github.com/cofob/autogenlib
1•klntsky•50m ago•0 comments

LLM Botnet: Are companies using botnets to scrape content?

2•flyriver•52m ago•1 comments

Tesla employees ask Elon Musk to resign, confirm demand problem

https://electrek.co/2025/05/11/tesla-employees-ask-elon-musk-resign-confirm-massive-demand-problem-get-fired/
6•travisgriggs•59m ago•2 comments

Human Behavior

https://www.humanbehavior.co/
1•handfuloflight•1h ago•0 comments

Dance Music Is Booming Again. What's Different This Time? A Lot

https://www.nytimes.com/2025/05/11/arts/music/dance-music-boom-nightlife.html
2•hgv•1h ago•0 comments

Sleep duration, sampling time, and physical exercise alter cardiovascular risk

https://biomarkerres.biomedcentral.com/articles/10.1186/s40364-025-00776-0
2•gnabgib•1h ago•0 comments

Custom SIM card in Tesla Model 3 2024, Tesla Model Y 2025 and Cybertruck

https://olegkutkov.me/2025/05/12/custom-sim-card-in-tesla-model-3-2024-tesla-model-y-2025-and-cybertruck/
26•LorenDB•1h ago•14 comments

Show HN: Converter for half-with and full-width string in Golang

https://github.com/suwakei/go-zhconv
1•suwakei•1h ago•0 comments

Making complex text understandable: Minimally-lossy simplification with Gemini

https://research.google/blog/making-complex-text-understandable-minimally-lossy-text-simplification-with-gemini/
1•m-hodges•1h ago•0 comments

Solved: What Is Microcode and Why You Need to Be Aware of It

https://www.urtech.ca/2025/02/solved-what-is-microcode-why-you-need-to-be-aware-of-it/
1•rolph•1h ago•0 comments

Ask HN: Is There a "Hacker News" for Economics?

2•preciousoo•1h ago•2 comments

Trump to accept luxury jet from Qatar to use as Air Force One

https://www.cnn.com/2025/05/11/politics/trump-luxury-jet-qatar-air-force-one
8•gnabgib•1h ago•0 comments

Trump announces he'll sign executive order that aims to cut drug prices

https://www.cnn.com/2025/05/11/politics/trump-prescription-drug-prices
9•ourmandave•1h ago•1 comments

Anukari Apple Performance Progress

https://anukari.com/blog/devlog/apple-performance-progress
2•humbledrone•1h ago•0 comments