Hacker News new | ask | show | jobs
by jayd16 44 days ago
This is fantasy though.

The reason code takes time to change is not because changing it takes time.

You have to redo all the testing and relearn all the hard fought and underspecified lessons of the previous attempt. That's what takes the time.

5 comments

I've been able to execute several highly niche, large scale refactors in a production system in the last 6 months, entirely enabled by AI tooling. The kinds of changes that individually by hand would have taken months and you would never get top down approval to do because it would take paid developer time away from client-focused work.

This has stabilised the system, fleshed out unfinished ideas, expanded testing capability, introduced new developer-experience oriented tools, and refactored sensitive systems to be more flexible for future use. Not to mention addressing the kinds of uber-niche tech debt that would take years to bite and months to fix.

It's far from fantasy.

It might depend on your use case. Life threatening bugs in a plane? Your argument holds up.

Letting an llm rewrite your internal todo tool, in another language, better design and up-to-date software stack. Yeah, this is absolutely not a fantasy anymore. We got rid of most SAAS tools in a month. Complete with Keycloak, behind wireguard, pocketbase backend, in our cooperate design with exactly the features we want. It works flawless since day one.

I really hope you really didnt rewrite Keycloak in a few days using AI tools and use it in any way professionally or production.

If you did, please do an urgent meeting with your team and dont tell anybody, just fix it. When shit hits the fan, it really hits hard.

No I wrote what the internal tool uses as the OIDC and backend. No need to rewrite Keycloak. I like it very much.

I also wrote about internal tools. Not public facing applications. That would be a bit much for my taste.

This is outdated news though. It's cope. People are out there telling themselves "well it's insecure". That was true. The AI models are better hackers then humans now though. Red teaming your own code with AI will produce a better penetration test then any developer trying to implement OIDC.

And frankly...have you tried configuring Keycloak? It is a gigantic "do everything app". The idea that it's going to have a narrower attack surface is basically fantasy.

Maybe for absolutely massive refactors? But if you've got a good test suite and a capable LLM, most refactors are ... almost enjoyable, now.

I think this is what TFA was getting at -- what was once hard or impossible, and an absolutely massive headache to conceptualise, is now surprisingly simple and straightforward.

You are seriously underestimating how good something like Opus 5.5 is at testing.

That's what truly convinced me programming was over: it writes better tests, more thoroughly, then any developer.

> it writes better tests, more thoroughly, then any developer.

Can you help me understand what domain and language(s) you are using here?

This really does not match my experience so I'd love to understand what the differences may be.

Was there an existing good test suite? Is this an application built before LLMs?

I'd love to get more info so I can figure out how to get Opus to do this for myself, as I really haven't had this experience.

Definitely fantasy esp "6 months to 1 day". That's just impossible physically.

Did they even sit and thought deeply before they wrote this comment or have people really just started putting out slop everywhere due too much usage of AI?

The code that was produced in 6 months before cant be even read in 1 day today so dont get me started on properly functionally producing it.

> or have people really just started putting out slop everywhere due too much usage of AI?

Yes, they really have been. It’s exhausting at work.