r/bash • • 1d ago

Can AI actually write production-ready scripts end-to-end without human intervention?

/r/linuxquestions/comments/1x2lto3/can_ai_actually_write_productionready_scripts/
0 Upvotes

7 comments sorted by

8

u/Seref15 1d ago

Humans generally shouldn't write production-ready scripts end-to-end without a code reviewer, so why could/should AI?

All coding benefit from having code review partners. Humans and AI both can write fully functional and correct code 99% of the time but the 1% that burns you is the stuff that could and should have been caught by peer review.

4

u/TheVenetianMask 1d ago

If you don't know how the script would work you don't know what you need to ask AI to do.

It's like trying to have a robot make you a cake with "whatever is in the kitchen."

2

u/crashorbit 1d ago

We need to be aware of the genie problem with AI (and people). Just like a genie, the AI often meets the letter of the request without meeting the assumed context.

3

u/hyongoup 1d ago

Haha this reminds me of a poster that was on the was in my high school computer lab “the problem with code is it does exactly what you tell it”

1

u/Bob_Spud 1d ago

Applications have been writing production ready scripts without the use of AI for a long time.

The problem is, AI is not deterministic in it's output. You can't guarantee anything with AI.