TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Python for the impatient

7 pointsby tonylampadaover 12 years ago

2 comments

jrajavover 12 years ago
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!
Luytover 12 years ago
<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>