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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Python for the impatient

7 点作者 tonylampada超过 12 年前

2 条评论

jrajav超过 12 年前
This would probably be more aptly named "Crash course in Python for C/C++ programmers". On that note, it reminds me a lot of <a href="http://wiki.call-cc.org/chicken-for-programmers-of-other-languages" rel="nofollow">http://wiki.call-cc.org/chicken-for-programmers-of-other-lan...</a><p>I love the idea, and I think more of these need to exist for more languages. So much effort is spent on making languages accessible to newcomers (which is great!), but that results in bulky, low-content language tutorials that experienced programmers will usually skip. It would be nice to have concise tutorials like this one that draw quick and obvious parallels between the syntax and semantics of some other language, preferably for multiple languages (at least one from each major paradigm).<p>Maybe I'll start on that myself!
Luyt超过 12 年前
<p><pre><code> print "foo=%(foo)s bar%(bar)s" % {foo:123,bar:321} </code></pre> is incorrect. It should read:<p><pre><code> print "foo=%(foo)s bar%(bar)s" % {"foo": 123, "bar": 321}</code></pre>