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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Python 3.3: Trust Me, It's Better Than Python 2.7 (2013)

117 点作者 glynjackson超过 11 年前

9 条评论

freyrs3超过 11 年前
Whether it&#x27;s technically better or not is usually not in question. It&#x27;s whether it&#x27;s <i>compellingly</i> better to the point of outweighing the migration cost. For most of the community it still seems the answer is no.
评论 #7013758 未加载
评论 #7014746 未加载
评论 #7014050 未加载
mkl超过 11 年前
Here is the video of this talk (40 min.), for those who don&#x27;t like trying to decipher slides: <a href="http://pyvideo.org/video/1730/python-33-trust-me-its-better-than-27" rel="nofollow">http:&#x2F;&#x2F;pyvideo.org&#x2F;video&#x2F;1730&#x2F;python-33-trust-me-its-better-...</a>
DonGateley超过 11 年前
Don&#x27;t need your word on that. It&#x27;s pretty generally accepted that it is a better language. It&#x27;s that relative to what existed it is a new language, not an upgrade. It is incompatible with the old one and most all that has been written for it. Most who are invested already can&#x27;t and won&#x27;t go there. Most who are coming into it choose to maximize their options over language nicety. It&#x27;s all just too problematic.<p>It was dishonest to call it Python.
Mizza超过 11 年前
Can somebody explain function annotations for me?<p><pre><code> spam = None bacon = 42 def monty(a:spam, b:bacon) -&gt; &quot;different&quot;: pass </code></pre> What&#x27;s the point of this? It also seems like super ugly syntax to me, not pythonic. It looks like Ruby! Yuck.
评论 #7013762 未加载
评论 #7013754 未加载
falcolas超过 11 年前
I&#x27;m sure it is. Still doesn&#x27;t address reasons I can&#x27;t migrate to 3.3, though (those being CentOS6 defaults, lack of packages, cost&#x2F;benefit ratio too high for migrating).
评论 #7013712 未加载
allochthon超过 11 年前
Interesting read. Note the &quot;Google Confidential and Proprietary&quot; at the bottom of most of the slides. I wonder if the author just forgot to remove the notice when the slides were made public.
评论 #7013992 未加载
human_error超过 11 年前
concurrent.futures is available for Python 2.x.
评论 #7013917 未加载
AzioMurad超过 11 年前
&quot;All .pyc files now kept in a __pycache__ directory&quot;<p>That&#x27;s actually great.
the1超过 11 年前
not without twisted.