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

Life lessons and hot takes from my 30s

https://shreyasprakash.com/life-lessons-30s/
1•mondo_daemon•59s ago•0 comments

Ask HN: Hiii

1•hari_vardhan•2m ago•0 comments

Google rejects claims of AI in Search hurting web traffic

https://indianexpress.com/article/technology/artificial-intelligence/google-denies-ai-search-hurt...
1•vednig•4m ago•0 comments

Ask HN: Sdfs

1•hari_vardhan•7m ago•0 comments

Ask HN: Are there any developers prefer writing code manually?

1•trowa159•11m ago•0 comments

Roundup of July 2026 Bootstrapper Events

https://bootstrappersbreakfast.com/2026/06/23/roundup-of-july-2026-bootstrapper-events/
1•skmurphy•11m ago•1 comments

Fake Windows: highly realistic LED screens that simulates sunlight into a room

https://twitter.com/iPaulCanada/status/2070560999300559283
4•aurenvale•15m ago•0 comments

The Real Cost of Using AI in 2026

https://adlrocha.substack.com/p/adlrocha-the-real-cost-of-using-ai
1•adlrocha•17m ago•0 comments

Hungary holds first post-Orban Budapest Pride march

https://www.dw.com/en/hungary-holds-first-post-orban-budapest-pride-march/a-77736596
2•bushwart•18m ago•0 comments

I-Regexp: An Interoperable Regular Expression Format

https://datatracker.ietf.org/doc/html/rfc9485
1•tonyg•18m ago•0 comments

Can we create a shield to protect Earth from solar storms?

https://physicsworld.com/a/can-we-create-a-shield-to-protect-earth-from-solar-storms/
1•visha1v•19m ago•0 comments

[Humor] You have violated the rules of our community

https://www.mangialardi.it/you-have-violated-the-rules-of-our-community/
1•rm30•24m ago•1 comments

Itcss: Scalable and Maintainable CSS Architecture (2021)

https://www.xfive.co/blog/itcss-scalable-maintainable-css-architecture
1•toilet•26m ago•0 comments

The US Lock of the Web

https://ache.one/notes/the-us-lock-of-the-web
1•enz•26m ago•0 comments

Flick – Self-hostable file sharing with human-friendly codes (Go/Next.js)

https://github.com/Flick-Corp/flick
1•dellixou•26m ago•0 comments

Show HN: CCA-F Gotchas – exam pitfalls turned into an earworm playlist

https://suno.com/playlist/8ee4368a-294e-4369-8896-c9eba40768ce
1•dvaughan•26m ago•0 comments

Chinese tech hub's shift into robotaxis leaves drivers by the wayside

https://www.ft.com/content/b1445598-e5e3-4530-9e82-e0155c44106b
1•bazzmt•26m ago•1 comments

A Transformer Becomes an LLM

https://bharad.dev/blog/from-transformer-to-llm
1•bharadwajp•26m ago•0 comments

6 Facts About Europe and Air Conditioning

https://heatmap.news/daily/europe-air-conditioning
1•salonium_•30m ago•0 comments

Policymakers can prep for a potential AI job apocalypse

https://www.wordsinsearchlight.org/p/how-policymakers-can-prep-for-a-potential
1•m-hodges•30m ago•0 comments

Show HN: Hikaru Labs – A private, 100% local alternative to iLoveIMG

https://hikarulabs.xyz
2•CFBL•30m ago•1 comments

Can China build its own ASML?

https://nikkei.shorthandstories.com/can-china-build-its-own-asml/
4•pieterr•46m ago•0 comments

China's CXMT Is Set to Challenge DRAM Incumbents

https://newsletter.semianalysis.com/p/chinas-cxmt-is-set-to-challenge-dram
5•pieterr•51m ago•0 comments

Authority is the degenerate case: what else propagates through the link graph?

https://zenodo.org/records/20981883
1•JasonDuke•52m ago•0 comments

Why growth harder to find: good ideas aren't becoming rare, but hard to share

https://www.nber.org/papers/w35182
1•oliculipolicula•57m ago•0 comments

Wouter van Oortmerssen on Surviving in Early Access and Escaping Minecraft

https://report.wand.com/interviews/voxray-voxile-interview
2•mikelabatt•59m ago•0 comments

Inference, Diffusion, World Models, and More – YC Paper Club [video]

https://www.youtube.com/watch?v=wE1ZgJdt4uM
2•frenchmajesty•59m ago•0 comments

Guess what, lawmakers? The Runtime Is the Regulator

https://www.mikehyland.com/blog/ai-governance-zero-trust-runtime
1•mjhyl•1h ago•1 comments

Ask HN: Which Induction Cooktops Have the Best User Experience (UI/UX)?

1•evolve2k•1h ago•1 comments

Be the First to Test It

1•carlostkd•1h ago•0 comments