Remix.run Logo
▲ sashank_1509 3 hours ago

I think the fact that you have 500K LoC is a problem already. It could have been 50k without AI.

▲chrisra 3 hours ago | parent | next [-]

I agree with the 50k comment, but depressingly, it might not actually be a problem.

▲win311fwg 3 hours ago | parent | prev [-]

I did an analysis on the code I'm currently working on pre-AI and post-AI. There is no appreciable difference in implementation code size before and after, but the total LoC has grown substantially from having a lot more test code.

So you're right. Without AI the average lazy developer would write 50k implementation lines of code and 0 lines of test code, and now they have 450k lines of test code in addition to their 50k of implementation code. It might not be great test code, but I know which I'd still rather have (hint: the tests).

▲sashank_1509 3 hours ago | parent [-]

I strongly disagree AI generates codebases of the same size as humans excluding test code. You can just look at Codex, codebase that is almost millions of lines of Rust Code (source) for a desktop app/ Terminal UI’s. I saw a lab employee somewhere cope on X by saying their terminal UI is as complex as a game engine, but last I checked, they just need to generate some 2D pixels, not entire 3D worlds with physics and sounds that is done with ~500k lines of code.

▲win311fwg 3 hours ago | parent [-]

LLMs are laughably bad at writing code in some languages and shockingly good in others, so I can see that being the case if you chose poorly. But, especially when you have decided that you aren't even going to look at it, why would you use a shitty language?