there must be an existing language that is perfect for prompt coding without even looking into the generated code. I mean we don't look at the machine code (not always) while compiling a higher level language. Now that english is the highest level programming language maybe there is a better option. IMO elixir is one possible candidate
I asked Copilot this exact question and it says Python and JavaScript are the most popular for vibe programming. Take that with a grain of salt.<p>Taking the conversation further, basically languages in the TIOBE top 10 are your best bet. Copilot claimed that it's generally better at generating solutions in those languages than languages not in the TIOBE top 10. Don't know whether that's true or not, but it makes sense, and it was straight from the horse's mouth!<p>FWIW, I've had a lot of success vibe coding with Python and JavaScript.
For writing tests <a href="https://en.wikipedia.org/wiki/Behavior-driven_development#Story_versus_specification" rel="nofollow">https://en.wikipedia.org/wiki/Behavior-driven_development#St...</a> can be helpful. In my experience the parsing (e.g. Python behave library) is still regular expressions but maybe an AI can magically parse the sentences better.
Maybe Haskell, for its strong static typing (catches hallucinations faster), succinctness (uses less LLM tokens), and relative absence of side-effects (again should help with hallucinations).<p>Another factor, however, is abundance in the training data. In that light, Java may be a good candidate among statically typed languages.