Python 2 vs. Python 3: A retrospective
dropbox.com
Python 2 vs. Python 3: A retrospective
1–10 of 113 posts
Re: Python 2 vs. Python 3: A retrospective
#2Re: Python 2 vs. Python 3: A retrospective
#3Can anyone else not read the last lines of some of the slides?
Re: Python 2 vs. Python 3: A retrospective
#4Can anyone else not read the last lines of some of the slides?
Re: Python 2 vs. Python 3: A retrospective
#5Re: Python 2 vs. Python 3: A retrospective
#6Edit: not really needed, just loaded the dropbox preview, it is still readable
Re: Python 2 vs. Python 3: A retrospective
#7Now that I get to use Go, I have no desire to go back to python. I think I'm not alone, and that python will soon enough become the new perl.
Re: Python 2 vs. Python 3: A retrospective
#8instead of writing
for index, element in enumerate(some_list)
for key, value in my_dict.items()
they should unify and make items and enumerate default behavior. i.e.
for index, element in my_list:
for key, value in my_dict:
I really don't see the benefit of not doing this as default behavior. I always find if I need to loop a list there is a good chance the index can help, and even if I don't need it it doesn't hurt to have one either. Simple is better. And the whole looping dict and get back the key only sucks too because you often need the value as well so you essentially do dict["key"] but why not just default return both key and value?
Re: Python 2 vs. Python 3: A retrospective
#9Now that I get to use Go, I have no desire to go back to python. I think I'm not alone, and that python will soon enough become the new perl.
Python was never the right answer for the cases Go solves (OCaml was a better choice 5-10 years ago, and nowadays there are plenty of options). But it's still the best language around for where you just need to write a one-off script as quickly as possible (in that sense it's always been the new perl).
Re: Python 2 vs. Python 3: A retrospective
#10Now that I get to use Go, I have no desire to go back to python. I think I'm not alone, and that python will soon enough become the new perl.