frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

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

On Taste

https://endler.dev/2026/taste/
1•lwhsiao•46s ago•0 comments

Palantir Workers Are Finally Noticing the Skulls on Their Caps

https://www.techdirt.com/2026/04/30/palantir-workers-are-finally-noticing-the-skulls-on-their-caps/
1•throawayonthe•1m ago•1 comments

WolfCOSE: Zero alloc, PQC, MISRA-C, FIPS 140-3 built with wolfCrypt

https://github.com/aidangarske/wolfCOSE
1•aidangarske•2m ago•0 comments

AI Companies Can't Regulate Themselves. They Should Regulate Each Other

https://www.lawfaremedia.org/article/ai-companies-can-t-regulate-themselves-they-should-regulate-...
1•nedruod•3m ago•0 comments

Pentagon officials broadly detail $55B drone plan under DAWG

https://breakingdefense.com/2026/04/pentagon-officials-broadly-detail-55-billion-drone-plan-under...
1•thegdsks•4m ago•0 comments

Industrial Policy for the Intelligence Age [pdf]

https://cdn.openai.com/pdf/561e7512-253e-424b-9734-ef4098440601/Industrial%20Policy%20for%20the%2...
1•avaer•9m ago•0 comments

A Programmer's Guide to Common Lisp

https://archive.org/details/a-programmers-guide-to-common-lisp
2•jellinek•12m ago•1 comments

Running a custom trained Piper TTS model on Raspberry Pi Zero 2W

https://old.reddit.com/r/LocalLLM/comments/1t0xho8/running_a_custom_trained_piper_tts_model_on/
1•yakkomajuri•12m ago•0 comments

Disabling the new AF_ALG by default in gnulib (from 2018)

https://lists.gnu.org/archive/html/coreutils/2018-06/msg00034.html
1•dxdxdt•13m ago•0 comments

Copy-Fail: Linux Privilege Escalation

https://copy.fail/#affected
1•joatmon-snoo•13m ago•0 comments

Bitcoin Is Venice (2021)

https://allenfarrington.medium.com/bitcoin-is-venice-bitcoin-is-741cc7d22e9
1•simonebrunozzi•13m ago•0 comments

Active exploitation of cPanel/WHM critical vulnerability

https://www.cyber.gov.au/about-us/view-all-content/alerts-and-advisories/active-exploitation-of-c...
1•Svoka•14m ago•0 comments

'Empire of Skulls' book review: When phrenology raced ahead

https://www.wsj.com/arts-culture/books/empire-of-skulls-review-when-phrenology-raced-ahead-1c1fdab0
3•hhs•14m ago•1 comments

Is Rise of the Robots (1994) the worst game?

https://old.reddit.com/r/amiga/comments/1t1407x/is_rise_of_the_robots_1994_actually_the_worst/
1•doener•14m ago•0 comments

Ask HN: Any nice project ideas that you know you'll never bring to life

1•atilimcetin•16m ago•0 comments

New study finds task switching raises risk in transplant surgeries

https://news.vt.edu/articles/2026/04/pamplin-bit-research-organ-transplant-task-switching.html
1•hhs•19m ago•0 comments

GameStop is preparing offer for eBay

https://finance.yahoo.com/markets/stocks/articles/gamestop-preparing-offer-ebay-wsj-212703455.html
1•avonmach•21m ago•0 comments

The downfall of OpenAI and who will follow

https://msukhareva.substack.com/p/the-downfall-of-openai-and-who-will
1•mnky9800n•26m ago•0 comments

Revolving doors weaken SEC oversight: study

https://news.mccombs.utexas.edu/research/revolving-doors-weaken-sec-oversight/
1•hhs•26m ago•0 comments

Why is an Oxford lecturer allowed to wear fake breasts to work?

https://www.andrewdoyle.org/p/why-is-an-oxford-lecturer-allowed
1•vlapsvlapszsz•26m ago•0 comments

AI models that consider user's feeling are more likely to make errors

https://arstechnica.com/ai/2026/05/study-ai-models-that-consider-users-feeling-are-more-likely-to...
1•AgentNews•29m ago•0 comments

Does threatening an AI agent's existence make it a better gambler?

https://handyai.substack.com/p/does-threatening-an-ai-agents-existence
1•surprisetalk•32m ago•0 comments

Show HN: A visual planner for the Gridfinity modular storage system

https://gridfinitylayouttool.com/
1•veroz•32m ago•0 comments

Number Go Down

https://twitter.com/allenf32/status/2045477517201477686
1•simonebrunozzi•33m ago•0 comments

Deep Moats and Platform Shifts in Computing

https://semiconductor.substack.com/p/deep-moats-and-platform-shifts-in
1•naves•34m ago•0 comments

Starting from Scratch

https://shvbsle.in/starting-from-scratch/
1•kn81198•37m ago•0 comments

Friday Studio AI runtime: Turn prompts, skills, & tools into reliable config

https://github.com/friday-platform/friday-studio
5•Vpr99•42m ago•2 comments

A Dark-Money Campaign Is Paying Influencers to Frame Chinese AI as a Threat

https://www.wired.com/story/super-pac-backed-by-openai-and-palantir-is-paying-tiktok-influencers-...
7•qwikhost•45m ago•1 comments

AI doesn't replace us, but commodizes us

https://qihqi.github.io/posts/what-if-ai-commodizes-us/
1•qihqi•47m ago•0 comments

Shut out from the US, the world’s largest EV maker thinks it can stay on top

https://www.cnn.com/2026/04/30/china/china-ev-byd-stella-li-interview-intl-hnk
1•breve•48m ago•0 comments