AN INDICTMENT OF THE PYTHON PROGRAMMING LANGUAGE

 

Bruce David Wilner, CCP, CISSP
February 2001

 

It has recently become stylish to jump on the Python bandwagon. Revolutionary, some say; spellbinding, others add.

Hogwash.

I have seen languages come and I have seen languages go. I have personally written compilers, interpreters, translators, instrumentation preprocessors, etc., for ten or so. Python is probably the weakest addition to computer science in quite some time; it is arguably a giant step backward.

Let’s look at just a few reasons for my searing indictment:

This last one reminds me of a citation from an early C reference manual: “The syntax of initializers has changed: previously, the equals sign … was not present … The change was made because the initialization int f(1+2) resembles a function declaration closely enough to confuse the compilers.” Amusing, indeed—but this was excusable when it was penned 23 years ago. Python is only two years old.