Remix.run Logo
ativzzz 4 hours ago

By then, the fix will be easy. Fire up the latest LLM, point it at your codebase and tell it "rewrite this from scratch. do it well. fix the architecture mistakes"

jcalx 3 hours ago | parent | next [-]

There is definitely going to be some Wirth's law-like [0] effect about the asymmetry of software complexity outpacing LLMs' abilities to untangle said software. Claude 9.2 Optimus Prime might be able to wrangle 1M LoC, but somehow YC 2035 will have some Series A startup with 1B+ LoC in prod — we'll always have software companies teetering on the very edge of unmaintainability.

[0] https://en.wikipedia.org/wiki/Wirth%27s_law

AlotOfReading 4 minutes ago | parent [-]

It's the Peter principle for computers. Codebases expand to the limits of the organization's ability to manage them. If you make one person use ed to write code for a bare metal environment, you'll get a comparatively small, laser-focused codebase. If you task a hundred modern developers to solve the same problem, you'll get a Linux box device running a million lines of JavaScript.

Same thing happens in other fields. A rich country and a poor country might build equivalent roads, but they won't pay the same price for them.

faizshah 3 hours ago | parent | prev | next [-]

It won't be an LLM that does it, the entire feature of an LLM is it produces generalizable reasonably "correct" text in response to a context.

The system that makes it have an opinion about good vs bad architecture or engineering sensibilities will be something on top of the transformer and probably something more deterministic than a prompt.

hasbot 4 hours ago | parent | prev | next [-]

We can do this today too (but definitely hopefully future LLMs make better architectural decisions). With Claude, I've been working on an application for the last 2 months. I didn't have a great vision of what I wanted when I started but I didn't want that to slow me down. The architecture is terrible - Claude separated some functionality into different classes but did a bad job at it and created a big ball of mud. Now that I finally have my vision locked down and implemented (albeit poorly), it'd be a great time to throw it away and start over. It'd be interesting to see the result and see how long it takes.

ativzzz 2 hours ago | parent [-]

Just have claude (or gpt maybe) do an architecture review and request a multi-phase refactoring plan. This is probably better to do incrementally as you notice the balls of mud forming but it might not be too late. Either way, if it does something you don't like, `git checkout` and start over

bulbar 4 hours ago | parent | prev | next [-]

Will work just as good as today or 20 years ago.

cortesoft 4 hours ago | parent [-]

Are you suggesting AI coding was as good 20 years ago as it is today?

hrldcpr 4 hours ago | parent | next [-]

I think they're being sarcastic, saying that rewrites from scratch have rarely worked well (whether done by AI or humans).

vrganj 3 hours ago | parent | prev [-]

It sure wrote less crappy code.

kurthr 4 hours ago | parent | prev | next [-]

"Write me a really cool game, that will make me lots of money, fast!"

KumaBear 4 hours ago | parent | next [-]

Make me a 1hr episode of my favorite book. Make it as lore accurate as possible. Plot out the script for the next 100 episodes.

estimator7292 4 hours ago | parent | prev [-]

I see your point, however: EA sports has been doing this for literally the entire lifetime of gaming as an industry

DonHopkins 3 hours ago | parent [-]

Electronic Sharts slogans and franchises:

"Shit's in the Game!"

"Chunder Everything"

"Maddening NFL 26"

"FIFiAsco 26"

"UFC 26 (Un Finished Code)"

"The Shits 4"

"Battlefailed"

"Need for Greed"

orphea 3 hours ago | parent | prev | next [-]

Do you think new LLMs are going to write better and better code? When all they are going to have is the slop generated by previous, worse models?

fnoef 4 hours ago | parent | prev [-]

"Make sure to double check everything, and MAKE NO MISTAKES!!!"

unfunco 4 hours ago | parent | next [-]

Don't hallucinate!

bhagyeshsp 4 hours ago | parent | prev [-]

"YOU'RE A SENIOR SOFTWARE ENGINEER!!!"

ryandrake 3 hours ago | parent [-]

"Ultrathink!"