PEP 20 – The Zen of Python
Long time Pythoneer Tim Peters succinctly channels the BDFL’s guiding principles for Python’s design into 20 aphorisms, only 19 of which have been written down.
Posts that commenters keep linking to, ranked by how many different people have cited them in Hacker News comments. 27 posts.
Long time Pythoneer Tim Peters succinctly channels the BDFL’s guiding principles for Python’s design into 20 aphorisms, only 19 of which have been written down.
A lot of groups that don't get invited to interviews would like to know why. This is a reasonable thing to want. If there's something wrong with your project, you want to know what.
Every two years, Moz surveys the opinions of dozens of the world's brightest search marketers and runs correlation studies to better understand the workings of search engine algorithms. We gather this data to gain insight into the factors that may help—or hurt—a website's visibility in search engines.
Again and again we fall back on the folklore of the principles of good design. Sometimes I need a URI for them so this is started as collection of them. I have written about some in many places. Principles such as simplicity and modularity are the stuff of software engineering; decentralization and tolerance are the…
Snippet: What is the problem we wish to solve when we try to construct a rational economic order? On certain familiar assumptions the answer is simple enough. If we possess all the relevant information, if we can start out from a given system of preferences, and if we command complete knowledge of available means, the…
In most languages that support nested scopes, code can refer to or rebind (assign to) any name in the nearest enclosing scope. Currently, Python code can refer to a name in any enclosing scope, but it can only rebind names in two scopes: the local scope...
Tuple parameter unpacking is the use of a tuple as a parameter in a function signature so as to have a sequence argument automatically unpacked. An example is:
This PEP suggests to support non-ASCII letters (such as accented characters, Cyrillic, Greek, Kanji, etc.) in Python identifiers.
The current method for transforming functions and methods (for instance, declaring them as a class or static method) is awkward and can lead to code that is difficult to understand. Ideally, these transformations should be made at the same point in the...
Randy Pausch's famous Last Lecture, titled "Really Achieving Your Childhood Dreams," was delivered in 2007 after a terminal cancer diagnosis and has since become a global phenomenon. A co-founder of the Entertainment Technology Center, Pausch was known for his interdisciplinary work and for creating the ALICE…
When designing a UI we usually go right from a quick paper sketch to HTML/CSS. We skip the static Photoshop mockup. Here are a few reasons why we skip photoshop: You can’t click a Photoshop mockup. This is probably the number one reason we skip static mockups. They aren’t real. Pap…
At our company-wide get together last December we decided that 2008 was going to be a year of workplace experiments. Among other things, we discussed how we could make 37signals one of the best places in the world to work, learn, and generally be happy. Here’s are a few of the things we…
You’re an SEO. You’ve mastered Moz’s starter guide to Search Engine Optimization . You deal with botched site migrations, messy title tags across thousands of pages, earth-shaking Google algorithm changes, and more on the daily. Who would have thought that one of the toughest parts of your job would be getting your…
The official home of the Python Programming Language
Just three months ago, the WebKit team announced SquirrelFish, a major revamp of our JavaScript engine featuring a high-performance bytecode interpreter.
The Long Now Foundation fosters long-term thinking. Our work encourages imagination at the timescale of civilization — the next and last 10,000 years — a timespan we call the long now.
It is greatly ironic that algorithms, the quintessential example of all that is not human, would be so fundamental to social media. Last week I wrote a post about how Google gathers user data. This week I continue by exposing how popular social media websites use algorithms to ut...
Statistical and applied probabilistic knowledge is the core of knowledge; statistics is what tells you if something is true, false, or merely anecdotal; it is the "logic of science"; it is the instrument of risk-taking; it is the applied tools of epistemology; you can't be a modern intellectual and not think…
A couple weeks ago we launched the new Highrise marketing site. We’re still iterating that design post-launch, and we have a big post brewing about that design process, but today I wanted to share some of the iterations we explored for the new signup chart. The start Here’s where we…
Get the latest product news, company announcements, and user insights from the official Reddit blog.
Prior to moving to London to join Last.fm I worked on credit card software for a leading international bank. When it comes to dealing with people’s money there isn’t much room for mistakes and buggy code can have major consequences. For these reasons there were a number of processes and systems in place to reduce the…
News and announcements from your friends at Balsamiq.