Sunday, November 10, 2013
Guido on Python 2 vs. Python 3
By Vasudev Ram
Guido van Rossum, our BDFL, just gave a presentation on Python 2 vs. Python 3.
Here it is:
Python 2 vs. Python 3 - A retrospective
I scanned most of it. Some excerpts that I personally found interesting:
- Too many ways to do it :-)
- e.g. old- and new-style classes
- People don't like change
-People positively hate incompatible changes
- So we did it anyway
- Drop "raise E, value" —> raise E(value)
- Drop backticks: `x` -> repr(x)
- No default ordering: 1 < 'x' raises TypeError
(I did think this was an issue when I came across it)
- Why reduce() must die
- Vasudev Ram - Python consulting and training
Labels:
BDFL,
Guido-van-Rossum,
python,
Python2-vs-Python3,
Python3
Subscribe to:
Post Comments (Atom)
2 comments:
How are reversed slices a mess? 'abcde'[::-1] == 'abcde'[4::-1] == 'edcba'.
You should ask the person who said it, i.e. Guido :-)
Post a Comment