Ten awesome things you are missing out on if you're still using Python 2

Chris Angelico rosuav at gmail.com
Tue May 9 03:48:21 EDT 2017


On Tue, May 9, 2017 at 4:01 PM, Rustom Mody <rustompmody at gmail.com> wrote:
> On Monday, May 8, 2017 at 12:48:03 PM UTC+5:30, Steven D'Aprano wrote:
>> http://www.asmeurer.com/python3-presentation/slides.html#1
>
> Nice list thanks!
>
> Do you have a similar list of
> 10 awesome features of Python that you can't use because you refuse to upgrade
> from Java/C++  ?
>
> [Context: Ive to take a couple of classes for senior such developers and
> wondering what features would give them) the most value]

1) First-class functions. Also first-class arrays/lists and
mappings/dictionaries, since most C++ users won't be accustomed to
those.
2) Much MUCH better networking support than C++. (Not sure about
Java.) You can easily, almost trivially, use IP networking as server
or client.
3) Excellent third-party package support.
4) Arbitrary-precision integers as the single most obvious integer type.
5) Unicode everywhere. Not UTF-16, not UTF-8, but actual Unicode
strings as the native type.

I'll let someone else do the other half.

ChrisA



More information about the Python-list mailing list