News for hackers. Stuff that matters.
Re:Migrating to Python 3 with pleasure by larrykwg on Sunday February 04, 2018 @09:43PM (#16306261)
I have the opposite reaction to it, it seems insanely idiotic to have a associative array with ordered keys. It can only make sense to someone who doesn't know anything about fundamental data structures and a language that caters to people like that in spite of the performance penalty is just strange.

but hey, its Guido, I still can't fathom that he moved reduce into functools.

Re:Migrating to Python 3 with pleasure by goerz on Sunday February 04, 2018 @09:56PM (#16306306)
I vaguely remember that the change to ordered keys in 3.6 was actually a side effect of making the dict implementation more efficient!

https://mail.python.org/pipermail/python-dev/2016-September/...

Re:Migrating to Python 3 with pleasure by sametmax on Monday February 05, 2018 @01:28AM (#16307012)
Well, given that I used reduce twice in production in 14 years of Python, my guess is that you are using Python wrong.
Re:Migrating to Python 3 with pleasure by djrobstep on Monday February 05, 2018 @12:43AM (#16306860)
Putting aside the fact that this change was made to increase performance, I'd rather have a language that's useful, expressive, and semantically powerful by default, instead of one that is less powerful and harder to use but slightly faster.