Comment by berkes
5 months ago
> It will implement a spec that's written in English or another human language.
No, it won't. Because "human languages" lack the precision to describe such a spec. This is exactly why programming languages exist in the first place: a language that humans understand but that allow for precise and unambiguous specifications and/or instructions. Do note that a computer cannot execute "Python" or "C". We needs to translate it first (compiling). Edit: A programmer doens't just type curly brackets and semi-colons in the right place, she takes vague and ambigous specs and makes them precise enough so that machines can repeat them.
As a kid we had this joke (works better in Dutch).
John gets in an accident, looses both his arms. A doctor gives him futuristic voice-controlled prostethics.
John: "Pick up coffee-mug". "Bring to mouth to drink". woa! impressed he goes home.
John, all excited "unzip pants", "grab d#ck", "jerk off"
(in Dutch, trek af means both "rip off" and "w#ank")
Jokes aside, we do have such a language that's not a programming language in the common sense: executable specs - end to end tests. Gherkin being a famous one but certainly not the only one. BDD, where the B is described by humans, in a DSL and the DD is performed by AI. I could imagine this working. Not currently and not anywhere soon (current LLMs are great at making new stuff, horrible at changing existing stuff), but it might work.
We'd then end up with just another programming language, but one thats more accessible to more people, I guess. And the AI is "just a compiler" in that sense.
No comments yet
Contribute on Hacker News ↗