Cannon: Why Python 3 exists
Cannon: Why Python 3 exists
Brett Cannon reminds the
world why the Python developers decided to create Python 3 — and
acknowledges that the transition could have been done better. "This
point of avoiding bugs is a big deal that people forget. The simplification
of the language and the removal of the implicitness of what a str object
might represent makes code less bug-prone. The Zen of Python points out
that 'explicit is better than implicit' for a reason: ambiguity and
implicit knowledge that is not easily communicated code is easy to get
wrong and leads to bugs. By forcing developers to explicitly separate out
their binary data and textual data it leads to better code that has less of
a chance to have a certain class of bug.
"