logoalt Hacker News

dist-epochyesterday at 1:20 PM1 replyview on HN

The guessing of a LLM for a vague prompt is better than the one of your average developer.

A prompt like "write these two files on disk" will very likely make the LLM do some sort of an atomic write/swap operation, unlike the average developer which will just write the two files and maybe later encounter a race condition bug. You can argue the LLM output is overkill, but it will also be more robust on average.


Replies

rixedyesterday at 8:52 PM

What kind of race condition do you have in mind?