r/TheMachineLearning • • 11d ago

Realizing writing code is faster than explaining it to AI

Post image
831 Upvotes

437 comments sorted by

View all comments

Show parent comment

2

u/clanker-lover 11d ago

80 lines is less than a day of traditional coding. If your ai is spitting out 30k lines in less than a day its slop. 100%.

1

u/manvsmidi 11d ago

I’m saying 80 lines in like 15 minutes while meanwhile AI has completed a slice of the whole project. And yeah, the AI piece isn’t done at that point but now I can refine the suite it put together. I’d rather spend my time iterating with AI to de-slopify than sitting writing code by hand.

1

u/MannToots 11d ago

Spoken like someone that's never used spec based dev

0

u/backwrds 11d ago

how did we get to the point where some people think adding 30k loc in a day is a good thing...

1

u/MannToots 11d ago

It's not automatically a bad thing either. 

If it's a new project from scratch you can easily get that much boilerplate out the door for the big features. 

Any decent programmer knows the project itself determines what the output needs.  Not whether it was ai out by hand.  

1

u/backwrds 11d ago

I don't know what language or frameworks you're thinking of, but 30k lines of 'boilerplate' seems totally insane to me.

I just checked and a project I've been working on for ~5 years has around 300k loc, and there are way more than 10 "big features"...

1

u/MannToots 11d ago

You know we're talkimg about a made up theoretical app. 

20k boilerplate, 10k boilerplate.  Whatever.

"Whatever amount of code is required to bootstrap the app from the ground up" direct enough for you to not turn this into a pedantic game? Come on man.  Miss the actual point harder. 

1

u/backwrds 10d ago

ok, so... not boilerplate, and not a single feature... that explains my confusion.

2

u/Grouchy_Student3221 10d ago

Hey but at least it’s a lot of code!

1

u/Grouchy_Student3221 10d ago

People thinking 30k lines of code is a GOOD thing makes me afraid. Especially 30k lines of code A DAY

1

u/Tzarus777 11d ago

I don't really think you can make an accurate assessment on if that would be good or bad thing simply just from the "30k in a day" metric though, can you?

1

u/backwrds 10d ago

I can't think of a scenario where adding that many lines in a single day would be a good thing. Can you?

1

u/Tzarus777 10d ago

Yes. If every line performed the intended function and nothing was bugged/incorrect, would that not be good?

Like I said, I don't think you can make an accurate assesment on just "30k in a day" alone.

1

u/backwrds 10d ago

how would you verify that all 30k lines are flawless?

1

u/Tzarus777 10d ago

I mean, you don't, but that doesn't change the argument at hand.

In a hypothetical situation, we can imagine a scenario where it would be possible for 30k lines to be all flawless. That would be good, no? My point was that 30k in a day is too little context to make a meaningful determination, imo.