News for hackers. Stuff that matters.
Re:AI has a multiplying effect on existing technical skills by akersten on Friday May 22, 2026 @10:10AM (#48236102)
> The code it generated was awful. The kind of garbage that people who don’t know any better would ship: it looked right and it worked. But it was instantly a maintenance dead end.

In the Tailwind thread the other day I was explicitly told that the intended experience of many frameworks is "write-only code" so maybe this is just the way of the future that we have to learn to embrace. Don't worry how it's all hooked up, if it works it works and if it stops working tell the AI to fix it.

It's kind of liberating I guess. I'm not sure if I've reached AI nirvana on accepting this yet, but I do think that moment is close.

Re:AI has a multiplying effect on existing technical skills by albedoa on Friday May 22, 2026 @12:17PM (#48237964)
I'm looking at that Tailwind thread. Do you really think that your comment here is a fair assessment of what you were told there? Come on now.

https://news.ycombinator.com/item?id=48166334

Re:AI has a multiplying effect on existing technical skills by giancarlostoro on Friday May 22, 2026 @10:27AM (#48236335)
Easy, have Claude review the code, tell it to be critical and that it needs to be easier to understand, follow Clean Code, SOLID principles and best practices. Lie to it, say you got this from a Junior developer, or "review it as if you were a Staff Level Engineer reviewing Junior code" the models can write better code, just nobody tells them to.
Re:AI has a multiplying effect on existing technical skills by HappySweeney on Friday May 22, 2026 @10:33AM (#48236445)
Code review is the main thing I use LLMs for. I have found it to be remarkably candid when you tell it the code came from another LLM (even name it). I was running Kimi K2.6 Q4 locally, seeing if it could SIMD a bit-matrix transpose function, and it was slow enough that I would paste its thinking into Gemini every few minutes. Gemini was savage.
Re:AI has a multiplying effect on existing technical skills by datsci_est_2015 on Friday May 22, 2026 @11:13AM (#48237052)
> Gemini was savage.

Humorously, this could be the result of LLMs vacuuming up all the sentiment on the web that the code that LLMs produce is trash-tier.

Re:AI has a multiplying effect on existing technical skills by ar_lan on Friday May 22, 2026 @11:59AM (#48237672)
Why wouldn't Claude just impose this same loop in the code it writes - or better, write better code before it needs such review?
Re:AI has a multiplying effect on existing technical skills by y1n0 on Friday May 22, 2026 @12:13PM (#48237907)
Because language models don’t think before doing, they think by doing.

Maybe a more idealized training set could improve things, but at least for today’s SOTA, you have to get the shitty first draft out and then improve it.

Harnessing makes a difference, but it’s only shuffling around when and where the tokens get generated. It can trade being slower by doing a hidden first draft and only showing the output after doing a self review. But the models still need to generate it all explicitly.

Re:AI has a multiplying effect on existing technical skills by giancarlostoro on Friday May 22, 2026 @12:10PM (#48237861)
I assume it would involve wasting a lot more tokens reasoning about this. It is known that GPT uses less tokens than Claude, but Claude uses them to reason about problems more, which is part of its "secret sauce" and why so many swear by Claude Code.
Re:AI has a multiplying effect on existing technical skills by AlecSchueler on Friday May 22, 2026 @12:56PM (#48238455)
Why would it? It doesn't do anything with intention without being prompted. When you ask it to do something it's going to give you what seems like the most likely result, it isn't striving to give you the most correct result, those things just have some overlap.
Re:AI has a multiplying effect on existing technical skills by marcosdumay on Friday May 22, 2026 @10:53AM (#48236763)
Lol, the only thing worse than a junior developer following Clean Code and SOLID has to be an LLM messing with code so it looks like it follows.
Re:AI has a multiplying effect on existing technical skills by giancarlostoro on Friday May 22, 2026 @11:12AM (#48237041)
Clean Code has its really "meh" areas, but the core idea and spirit of it is sound, heck Python's best guide is PEP-8 if you follow that, it forces you to write much better Python code.

In terms of "junior dev following" it would be the model trying to think and write it as a Senior or Staff Level engineer would.

Re:AI has a multiplying effect on existing technical skills by kenjackson on Friday May 22, 2026 @10:36AM (#48236506)
This is it. I've had a similar experience in just playing around I asked it to clean up some code it wrote to increase maintainability and readability by humans. After a few iterations it had generated quite solid code. It also broke the code a couple of times along the way. But it does get me thinking that these pipelines with agents doing specific tasks makes a lot of sense. One to design and architect, one to implement, one to clean, one to review, one to test (actually there's probably a bunch of different agents for testing -- testing perf/power, that it matches the requirements/spec, matches the design, is readable/maintainable, etc...).
Re:AI has a multiplying effect on existing technical skills by giancarlostoro on Friday May 22, 2026 @10:41AM (#48236592)
I built GuardRails after some frustrations with Beads which I love, and this whole exchange made me realize, because I have "gates" after tasks, I could add a "Review the code" type of gate, and probably get insanely better output, I already get reasonably good output because I spec out the requirements beforehand, that's the other thing, if you can tell the LLM HOW to build before it does, you will have better output.
Re:AI has a multiplying effect on existing technical skills by therouwboat on Friday May 22, 2026 @11:56AM (#48237599)
Is this a joke? Smartest people on the planet never thought about telling AI to just write better code?
Re:AI has a multiplying effect on existing technical skills by giancarlostoro on Friday May 22, 2026 @12:11PM (#48237874)
You forget that this all takes tokens from the model, so it has to be very stingy and whatever it comes up with "first" is what it goes with. I've seen people do the same as me, tell the model NOT TO GUESS but to do research first, which yields better output and saves time. Models today are better when they review the context directly, the focus shifted from it knowing everything in its training data to being able to dynamically learn new things and use that information in a meaningful way.

For example, I built up a programming language from scratch with Claude, it knows nuances about my languages syntax, and can write code in my language effectively. I did it mostly as a test. It definitely helped that my language is heavily mostly Python based.

Re:AI has a multiplying effect on existing technical skills by ryandrake on Friday May 22, 2026 @12:55PM (#48238434)
Kind of wild that you have to tell an LLM things like "do it right" and "make the code maintainable" and "don't make mistakes". Shouldn't that be the default? I wouldn't accept a calculator application that got math wrong unless you pressed a button labeled "actually solve the problem."
Re:AI has a multiplying effect on existing technical skills by jmalicki on Friday May 22, 2026 @01:04PM (#48238556)
> Kind of wild that you have to tell an LLM things like "do it right" and "make the code maintainable" and "don't make mistakes". Shouldn't that be the default?

It's not the default, because the training data is full of unmaintainable code done wrong with mistakes. People literally complain that LLMs write too many tests or add comments.

If instead of "do it right", you give it specific actionable advice of how to right code, it does surprisingly well. Newer frontier models also do a great job of mimicking the style and rigor of the surrounding codebase without prompting, if you're working in an established codebase, for better or worse.

Re:AI has a multiplying effect on existing technical skills by tayo42 on Friday May 22, 2026 @01:22PM (#48238766)
The default isn't necessarily what ever you consider maintianable or do it right, which are ambiguous terms anyway.

You never wrote quick exploratory code? One off scripts? How is the Ai suppsed to know unless you tell it.

If you tell another person to write some code, how are they suppsed to know? If you have your boss come to you and ask you to write some code to do some data analysis are you going to spend weeks writing units tests and perfect abstractions? Or do it quick and get the data and result?

Re:AI has a multiplying effect on existing technical skills by enraged_camel on Friday May 22, 2026 @10:45AM (#48236654)
Even better, if you have access to multiple models, tell it you got the code from another AI agent.

I did an experiment on this a few weekends ago and Codex for example was a lot more adversarial and thorough in its review when given Claude-authored code compared to when given the same code with "I wrote this, can you review it?"

Re:AI has a multiplying effect on existing technical skills by giancarlostoro on Friday May 22, 2026 @10:47AM (#48236685)
If it's within its context window, it will know you're lying, so either compact or start a new chat (don't do this on Claude, it dings your usage, always has).
Re:AI has a multiplying effect on existing technical skills by simmerup on Friday May 22, 2026 @10:21AM (#48236245)
The problem is it’s impossibly hard to test all the edge cases

Which is probably why so many random buttons in microsoft/apple/spotify just stop working once you get off the beaten path or load the app in some state which is slightly off base

Re:AI has a multiplying effect on existing technical skills by marcosdumay on Friday May 22, 2026 @10:57AM (#48236837)
The problem is worse than that.

The number of edge cases in a software is not fixed at all. One of the largest markers of competence in software development is being able to keep them at minimum, and LLMs tend to make that number higher than humanely possible.

Re:AI has a multiplying effect on existing technical skills by disgruntledphd2 on Friday May 22, 2026 @10:22AM (#48236271)
Yeah, the biggest thing I've noticed from LLMs is that large tech products now have even more bugs. Turns out the humans weren't so bad after all...
Re:AI has a multiplying effect on existing technical skills by louiereederson on Friday May 22, 2026 @10:30AM (#48236399)
I'm wondering if companies are 'diverting' engineering resources from core products to AI products with the view that the former are legacy. Kind of two sides of the same coin though.
Re:AI has a multiplying effect on existing technical skills by SpicyLemonZest on Friday May 22, 2026 @12:33PM (#48238182)
I'm sure there's a lot of AI investment, but I've definitely also seen fixed sets of core product engineers shipping a lot more bugs these days.
Re:AI has a multiplying effect on existing technical skills by michaelcampbell on Friday May 22, 2026 @10:27AM (#48236345)
> Turns out the humans weren't so bad after all...

The people pushing AI _over_ humans never thought they were. They just don't care about 'good' or 'bad', only 'time-to-market'. A bad app making money is better than a good one that isn't deployed yet. And who cares about anything past the end of the quarter? That's the next guy's problem.

Re:AI has a multiplying effect on existing technical skills by hollowturtle on Friday May 22, 2026 @12:46PM (#48238342)
I'm pretty you wouldn't want the same for code that runs healthcare, banks or transport. Only useless shitty web projects could embrace what's you're saying. And no there's no "Claude review the code and improve it" magical formula
Re:AI has a multiplying effect on existing technical skills by QuercusMax on Friday May 22, 2026 @02:30PM (#48239596)
I work in the health software space and there are tons of internal tools which aren't production code that can benefit massively from throwaway "write-only code". Putting a web UI on top of a management CLI tool so support ops can run things without needing an oncall engineer can be a huge win. I recently built a testing UI that doubles a demo-scenario-setup tool. Is it well-engineered? Who cares - it pokes the right things into the database and runs the right backend tasks, and has helped me catch and fix dozens of real bugs in the UIs that customers see.

There is an enormous untapped market for crappy low-effort apps which previously weren't worth the time - but with the effort so low put together a simple dashboard or one-off tool it becomes much more attractive.

Re:AI has a multiplying effect on existing technical skills by hollowturtle on Friday May 22, 2026 @06:08PM (#48242303)
> internal tools which aren't production code that can benefit massively from throwaway "write-only code".

First of all internal tools just prove my point. Second can't wait to hear a story of a health care production database blown away because someone was playing with generated tools that "pokes the right things".

We NEED end user experiences that don't suck, and don't keep getting shittier like now, not being able to use a cli for internal tools, it's a skill issue, not everythint needs a shitty ui that taps into an os system calls and blows away as soon as the cli responds with something unexpected

Re:AI has a multiplying effect on existing technical skills by QuercusMax on Friday May 22, 2026 @06:15PM (#48242343)
You still have to do the engineering parts of software engineering, you can't just turn off your brain and vibe. Just like you can't with hand-written code. I've seen what an intern with access to prod DB can do.

For example, the testing tool I built explicitly doesn't work in production environment. That was part of my design spec and I manually verified the code and behavior.

Re:AI has a multiplying effect on existing technical skills by naravara on Friday May 22, 2026 @01:49PM (#48239089)
I have been wondering recently that if the cost of just throwing everything out and building it from scratch again gets low enough, maybe maintainability becomes less of a priority? Can we just embrace the thing like those Zen carpenters who build wooden fire shrines do where they just accept that the thing will keep burning down and they make a discipline around getting really good at rebuilding it?

Granted, the load bearing thing here is whether we’re actually getting good at rebuilding up to any sort of standard of quality. Or if the tooling is even structurally capable of doing that rather than just introducing new baskets of problems with each build.

Re:AI has a multiplying effect on existing technical skills by noosphr on Friday May 22, 2026 @03:56PM (#48240768)
The if in there is doing a lot of heavy lifting.
Re:AI has a multiplying effect on existing technical skills by m463 on Friday May 22, 2026 @08:11PM (#48243135)
> "write-only code"

so... perl?