TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What is the best programming language for "vibe coding"?

5 点作者 ranuzz2 个月前
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

4 条评论

taylodl2 个月前
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&#x27;s generally better at generating solutions in those languages than languages not in the TIOBE top 10. Don&#x27;t know whether that&#x27;s true or not, but it makes sense, and it was straight from the horse&#x27;s mouth!<p>FWIW, I&#x27;ve had a lot of success vibe coding with Python and JavaScript.
mtmail2 个月前
For writing tests <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Behavior-driven_development#Story_versus_specification" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;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.
layer82 个月前
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.
bn-l2 个月前
&gt; without even looking into the generated code<p>I don’t think we’re even close to this.
评论 #43282252 未加载