Hacker News new | ask | show | jobs
by mrweasel 3713 days ago
>i keep looking for a reason to switch to python 3 and cant find one.

Unicode? Not having to deal with encoding all over the place has been well worth switch to Python 3. If performance is a a huge issue, I honestly don't know why you would stay on Python (regardless of version)

I wouldn't want to switch back to Python 2.7 is I can avoid it. There's honestly no reason not to go with 3.4 or 3.5 at this point, unless you happen to have a large Python 2 code base.

2 comments

This is a superficially trivial bit of syntactic sugar, but an example of the way small tweaks can provide big impact. This:

    > do_something(*some_args, *some_more_args)
is rocking my world right at the moment. That's a massive time saving feature I've been waiting for and worth the price of a 3.5 upgrade.
Oh cool, I didn't know about this!
>If performance is a a huge issue, I honestly don't know why you would stay on Python (regardless of version)

I see this a lot. That one doesn't care of performance that much to switch to, say, C++ or Go, doesn't mean one is OK with regressions to what they currently use.