Hacker News new | ask | show | jobs
by theshetty 210 days ago
Prompt is code.
3 comments

prompt as code is a pipe-dream.

The machine model for natural language doesnt exist - it is too ambiguous to be useful for many applications.

Hence, we limited natural language to create programming languages whose machine model is well defined.

In math, we created formalism to again limit language to a subset that can be reasoned with.

I've always said, determinism has been holding the field back.
Prompt is specification, not code.
Not to be too pedantic, but code is a kind of specification. I think making the blanket statement "Prompt is code" is inaccurate but there does exist a methodology of writing prompts as if they are specifications that can reliably converted to computational actions, and I believe we're heading toward that.
Yeah, I assumed someone would say this.

My manager gives me specifications, which I turn into code.

My manager is not coding.

This is how to look at it.