Re:Declarative Programming with AI/LLMs
by r0ze-at-hn on Sunday September 15, 2024 @08:38PM
(#41551693)
Hmm, couldn't that example be simplified to:
The whole reading and writing feels like a leftover from the days of programming. Reading it in, modifying and then writing assume it fits in memory, leaves out ideas around locking, filesystem issues, writing to a temp and swapping, etc. Giving the actual intent lets the LLM decide what is the best way which might be reading in , modifying and then writing.
[ Parent
| on HN ]
Re:Declarative Programming with AI/LLMs
by ingigauti on Monday September 16, 2024 @03:09AM
(#41553521)
The way I designed the language I had the current languages in mind. Don't forget you are programming, it's just more natural, you need details
But also the main reason is that it's much more difficult to solve the intent when mixing multiple action into the same step. In theory it's possible but the language isn't there yet.