21 points · by aaronbrethorst · 1mo ago · 17 comments
Programming entails specific instructions and a high level of control, a.k.a. specifications. Of course, there are other kinds of specs, like business specs, but here we're talking about specs in the literal sense, where you are being specific of how the machine should work in a predictive sense. We don't do this with prompts, and we expect the AI to do this for us in the same way we expect a human engineer to take ambiguous directions and turn it into the actual computer spec.
The fact that domain knowledge makes for better prompts is a shortcoming of AI instead of a feature of prompting.
I’m not saying you’re wrong to separate it and say there’s a difference, but I don’t think the line where you put it.
AI has an architecture that needs to be trained, and then it works at such large scales with so many other points of indirections like mixture of experts, chain of thought, that it's just way past the point it could be called a mapping or an abstraction.
Programming as I remember it pre-AI was essentially just toil and iteration. Programming with AI is nearly zero toil and iteration. The first prompt is like installing a framework. The next 200 prompts are programming.
Writing a really good skill, or a spec document, feels more like programming than Project Management.
2. You still need to be "tech-savvy" to use LLMs effectively. If you'd struggle with the settings menu of a smart TV, you're probably gonna struggle with LLMs. I don't know what makes people "tech-savvy" (maybe just IQ plus broad familiarity with technology) but most software engineers definitely have it.
3. I think domain expertise is paradoxically less of a moat with LLMs. I have a Socratic teaching-machine at my fingertips, I can master any "soft" domain in one weekend.
Every sentence in English is either a function call (action), a database query of sorts, an observation about time/place/people or a logical proposition. Even continuations / process control are a part of natural language.
Domain knowledge is basically having an idea about the rules and procedures of the said domain. A glossary of a domain is a library.
I find my prompting these days increasingly become more and more imperative and resemble logo somewhat. It is better I suppose from assembling code from blogs, books, github, stack overflow and 20+ google searches.
I don't think I understood the second question but I do find myself losing patience with people because they don't follow my instructions even after nodding their heads, I am usually am flighty if I don't like the instructions but people usually make up excuses, lie, cheat ... depending on your status.
All said and done, English is a good scripting language but is it an efficient and a correct one ? I never liked bash.
I'll send him the article and see if a crash-course in "this is how programmers think about problems" helps.
Though I absolutely still have to go through it robustly to protect against Claudisms, comments only Claude understands, function names that make sense only with maximum context and a dictionary of that same context, etc. and it still overlaps function responsibility.
I’m not out of a job yet! Hah.