[Tutor] 2 vs 3

Alan Gauld alan.gauld at btinternet.com
Sun Sep 6 00:33:02 CEST 2015


On 05/09/15 14:06, Sithembewena Lloyd Dube wrote:
> A colleague and I are embarking on a project for a client. We have agreed
> to implement a REST API in Falcon (www.falconframework.org) and colleague
> wants to implement it in Python 3.

Python 3 is the future and where we will all inevitably
wind up. There are very few people still using Python 1.x
nowadays, progress happens.

And its much easier to start a new project on a new version
that to try to migrate it after your got it built. So I'd
see this as an opportunity to move with the times and go
with v3.

Once you get used to it - and it is a big jump, don't
underestimate the learning time - v3 is superior. It's
more consistent and the new features are potentially
useful. Take the time to really explore what v3 offers,
not just the new syntax items.

Caveat: If you need a specialist library that hasn't been
ported that may force you to use v2. But very few of the
s significant libraries are stuck on 2 now.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list