Topics /

Programming Languages

The most popular blog posts about programming languages on Hacker News. 8 posts.

2008
4

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.

7

PEP 3104 – Access to Names in Outer Scopes

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...

8

PEP 318 – Decorators for Functions and Methods

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...