frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Why do people say LLMs create bad code "quality"?

2•chaidhat•1h ago
Happy Thanksgiving! For context, the only time I've been exposed to "good quality code" was when I interned at a YC startup. I am creating my own startup at the moment. I keep hearing that LLMs create "bad quality code" and wondered what that meant? I've been trying to use Claude Code in the development of my app. If I am the one architecting the functions and services, making sure they are high cohesion loose coupling, abide by service oriented architecture, etc. and only having LLMs implement the functions themselves and not touch the architecture, will this ensure "better code?" What is "good quality code?" Why do LLMs inherently create bad quality code, and what ways should I AVOID using them?

Thank you kindly. Best Chai

Chaidhat Chaimongkol

Comments

dmezzetti•1h ago
The perception is that it's sloppier than what humans write. I wouldn't waste too much time worrying about that if the code is solving your problem. Sounds like you need to focus on getting a MVP to show to potential customers and if LLMs help you get there faster, so be it.
chaidhat•1h ago
Thank you! That is a good take on things. If it works, it works. If it fails, then a customer complains and we fix it + make sure other code doesn't suffer the same error.
dmezzetti•53m ago
Good luck!
WheelsAtLarge•7m ago
When i started using LLMs for code writing the code it wrote was messy and mostly wrong. Recently my experience with relative small apps has been very positive. The code has been very readable and compact. But I can see where the code can get very messy if you don't have a structured plan for code development. It's very easy to create a messy code base that's hard to maintain.But the reality is that human developers do the same thing regularly.

I think that keeping the code that the LLMs write relative small and highly focus will lead to a code base that's easy to maintain over the long term.

I plan to create an app that relies heavily on LLM written code. I'm hoping that if I architect it as if am working with a team of programmers I'll be able to create a code based that I can update over the long term. I'll assign it assingments that I can then merge into the master codebase. You're in the same path. That's 2 od us. I think it will work out. We'll get what we want while saving a ton of time.

mmphosis•4m ago
Garbage in, garbage out. Beautiful code in, beautiful code out.

Code "quality" is a judgement call. Just like some LLMs, I'll repeat your question: What do you consider quality code?

I treat all code from LLM, search, stackoverflow, etc, as "sample code" that requires review and most likely modification, or writing the code from scratch. Your abilities and laziness may vary.

Also, there are reasons other than code quality not to trust LLMs.

Swift regrets: a programming language design retrospective

https://belkadan.com/blog/tags/swift-regrets/
1•fanf2•3m ago•0 comments

Vendor Lock-In Lessons from My Internship: Is It Discussed in School?

https://medium.com/datastrato/if-youre-not-all-in-on-databricks-why-metadata-freedom-matters-35cc...
1•birdculture•4m ago•0 comments

Cloud-Init on Raspberry Pi OS

https://www.raspberrypi.com/news/cloud-init-on-raspberry-pi-os/
1•rcarmo•6m ago•1 comments

Fedora Sig Proposed to Improve Production Stability

https://www.phoronix.com/news/Fedora-SIG-Production-Stability
1•Bender•8m ago•0 comments

Replace your boss before they replace you

https://replaceyourboss.ai/
2•_tk_•8m ago•0 comments

Zlib-Ng 2.3.1 Released with More CPU Performance Optimizations

https://www.phoronix.com/news/zlib-ng-2.3.1-Released
1•Bender•8m ago•0 comments

US Patent Office issues new guidelines for AI-assisted inventions

https://www.reuters.com/legal/government/us-patent-office-issues-new-guidelines-ai-assisted-inven...
3•speckx•9m ago•0 comments

What's Your Incentive?

https://newsroom.ucla.edu/magazine/jana-gallus-economist-incentive-design
1•paulpauper•9m ago•0 comments

Adolescence lasts into 30s – new study shows four pivotal ages for your brain

https://www.bbc.com/news/articles/cgl6klez226o
1•abe94•14m ago•0 comments

James Watson tells the inconvenient truth: faces the consequences

https://pubmed.ncbi.nlm.nih.gov/18440722/
3•nullbyte808•17m ago•1 comments

Neural Annealing: Directing Psychedelic Trips Towards Healing (25/30)

https://psychotechnology.substack.com/p/neural-annealing-directing-psychedelic
1•paulpauper•17m ago•0 comments

"The Etiology and Treatment of Childhood", Smoller 1986 [pdf]

https://gwern.net/doc/psychiatry/adhd/1986-smoller.pdf
1•paulpauper•18m ago•0 comments

Command-Enter to Submit in AI Chats – never lose an incomplete prompt again

https://gist.github.com/intellectronica/e9302c17e2b01db9ca9ab17f0bcb8f16
2•intellectronica•20m ago•0 comments

What were Afghan "Zero Units" where the National Guard shooting suspect worked?

https://www.cbsnews.com/news/national-guard-shooting-suspect-afghanistan-zero-units/
2•clanky•21m ago•0 comments

Show HN: EasyDictate – Offline Voice Dictation for Windows

https://github.com/charleslukowski/easydictate
2•chux52•22m ago•0 comments

Skald: Open-Source Production RAG in Your Infrastructure

https://github.com/skaldlabs/skald
1•yakkomajuri•23m ago•0 comments

Cherry gives up German production and wants to sell core division

https://www.heise.de/en/news/Cherry-gives-up-German-production-and-wants-to-sell-core-division-11...
2•jsheard•23m ago•0 comments

The ultralight gummy bear power bank just got yanked from Amazon

https://www.theverge.com/news/818906/haribo-gummy-bear-power-bank-amazon-removed
1•walterbell•23m ago•0 comments

The Fediverse: A New Era of Social Media [video]

https://videos.elenarossini.com/w/64VuNCccZNrP4u9MfgbhkN
3•tcfhgj•24m ago•0 comments

The Great Agent Scramble at KubeCon '25: How AI Is Rewiring Enterprise Software

https://www.mydecisive.ai/blog/great_agent_scramble
2•lulu_lemon•30m ago•1 comments

At IT School with Apple Lisa

https://blisscast.wordpress.com/2024/06/04/apple-lisa-gui-wonderland-3/
3•fabiojava•31m ago•0 comments

The Whirlpool Is the Mountain

https://thinking.relica.io/the-whirlpool-is-the-mountain/
1•m-xtof•31m ago•0 comments

All recent bash commits are by one person

https://cgit.git.savannah.gnu.org/cgit/bash.git/log/
1•behnamoh•32m ago•0 comments

Ask HN: What open source projects are you grateful for?

2•jayzalowitz•33m ago•0 comments

Signal's president warns AI agents are an existential threat to messaging apps

https://fortune.com/2025/11/27/ai-agents-are-an-existential-threat-to-secure-messaging-signals-pr...
3•giuliomagnifico•34m ago•0 comments

Show HN: Hatch v1.16.0 – workspaces, dependency groups and SBOMs

https://hatch.pypa.io/1.16/blog/2025/11/24/hatch-v1160/
1•ofek•36m ago•1 comments

Why Have Vaccines Become a Religion?

https://www.midwesterndoctor.com/p/why-have-vaccines-become-a-religion
1•bilsbie•38m ago•1 comments

How Microsoft's developers are using AI

https://www.theverge.com/tech/831379/microsoft-developer-ai-usage-stats-notepad
2•manveerc•39m ago•0 comments

Major journal under fire for omitting Pfizer's failed flu data in seniors

https://blog.maryannedemasi.com/p/major-journal-under-fire-for-omitting
2•bilsbie•40m ago•0 comments

YouTube testing new 'Home' page with more control over suggested content

https://9to5google.com/2025/11/26/youtube-testing-new-home-page-with-more-control-over-suggested-...
3•geox•41m ago•0 comments