Was Python 3 A Mistake?
Was Python 3 A Mistake?
Written by Janet Swift   
Monday, 06 January 2014

Almost 5,000 Pythonistas have responded to a survey exploring the popularity and use of Python 3.x compared to 2.x.  And so far the results are looking good for 3.x.

The ongoing survey comes from Dan Stromberg who decided to investigate Python usage because he was tired of hearing "naysayers" decrying Python 3.x. He has now provided results based on responses from the first 4,790 respondents.

Almost all the respondents (4,660, 98%) had written code in Python 2.x whereas only 60% said they had written code in Python 3.x.

The majority currently write more code in Python 2.x than in 3.x:

pysurv3

 

and they overwhelmingly have dependencies that tie them to the Python 2.x branch:

pysurv5

 


The survey included questions about porting code between the versions of Python. Fewer than a third of respondents had done so:

pysurv6

 

Porting tools seem to be relatively unpopular - 768 respondents (16% of those who answered the question) had used 2to3 and only 91 (2%) had used 3to2.

 

The key question in the survey did however come out favourably for Python 3.x with over three quarters choosing the No option:

 

 

If you want your opinion to be counted the Python 2.x vs 3.x survey is still available.

More Information

2013-2014 Python 2.x-3.x survey.pdf

Related Articles

Python In Easy Steps (book review)

Learning Python (5th Edition)

The Top Languages Of 2013

JavaScript Developer Survey 2013

 

To be informed about new articles on I Programmer, install the I Programmer Toolbar, subscribe to the RSS feed, follow us on, Twitter, Facebook, Google+ or Linkedin,  or sign up for our weekly newsletter.

 

 
 



Comments




or email your comment to: comments@i-programmer.info

 

Banner


Apache Releases Trafodion
29/03/2018

Apache Trafodion has been moved from incubator status to become a high level project. Trafodion is a webscale SQL-on-Hadoop solution enabling transactional or operational workloads on Apache Hadoop.&n [ ... ]



Topcoder Marathon Match 100
16/04/2018

Topcoder is celebrating a historic event this week with a rerun of the first Marathon Match, a Random Walking fun challenge, in which 164 members took part. Thousands are expected to join in MM100 and [ ... ]


More News

Last Updated ( Monday, 06 January 2014 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2018 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.