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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Python’s Prospects in a Copiloted World

6 点作者 jamesralph8555大约 2 年前
Given that models are emerging that can write code at a competent level, do you think the attractiveness of dynamically typed languages like python will diminish while statically typed languages like C++ and rust will become more popular?<p>My thought process here is that languages like python are easy for humans to write, but hard for computers to validate. The advantages somewhat go away when code can be written by a model. Meanwhile, the disadvantages such as poorer maintainability and performance of these languages would still exist.

3 条评论

tacostakohashi大约 2 年前
I see this cycle where simplified &quot;scripting&quot; languages for &quot;non-programmers&quot; never last.<p>See: BASIC, perl, php, 4GL languages, etc.<p>The cycle goes like this:<p>1. A new simplified language for non-programmers is created<p>2. Non-programmers jump on board and get as far as they can...<p>3. Now they need just a little bit more from the language, so it is added (for perl, that was perl5 with OO, use strict, etc, for php, also the OO stuff when they turned it into java, for python, it&#x27;s python3)<p>4. The non-programmers have become programmers, and the language has become a bit of a mess, so former non-programmers jump to C++ or Java or Clojure, and next generation of non-programmers don&#x27;t like the look of the now complicated mess of a language, so back to step 1.<p>I guess it also doesn&#x27;t help that a lot of these non-programmer languages are tightly coupled with some particular use case, like server side web apps for php, or &quot;data science&quot; for php, once that goes away, there isn&#x27;t much of a general-purpose language left.<p>Anyway, yes, the appeal of C++, rust, Java, etc is definitely more stable over time - nobody learns those because they are simple, and drops them when it turns out not to be the case.
评论 #35329425 未加载
评论 #35327925 未加载
qup大约 2 年前
I think that we&#x27;ll have to keep optimizing for human readability while we still cannot trust the code.<p>In the future, perhaps we can let it write whatever language best suits the task. Or perhaps we&#x27;ll design a programming language specifically intended to be used by LLMs. (Or let the LLMs design it)
jawmes8大约 2 年前
Anecdotally, using GPT-4 with Typescript has made its code output much cleaner.