Skip to main content

Posts

Showing posts from April, 2018

Python 2.7 vs 3.6 in 2018

Python 3 now has 75% adoption and Python 2 has 25%, at least according to the  Python developers survey 2017  referenced on Python.org,  however google trends doesn't seem to show this. The following graph is from google trends, comparing 2.7 vs 3.4, 3.5, 3.6, and 3.7. I would expect to see a much greater difference if 2.7 has only 25% usage. It does appear in the end of the 12 month graph that Python 3.6 is finally about to surpass 2.7, but has not yet done so. The 5 year trend shows that both 2.7 and 3.6 are both growing but 3.6 is catching up quickly.  It's interesting that the data in the latest report does not seem to correlate to the 5 year graph. While "in 2016 60% were using Python 2 compared with 40% for python 3" is clearly shown in the graph,  the latest report of 75% using python 3 vs 25% using python 2 does not appear to be accurate. It appears to be more of a 50% - 50% or 40% - 60% split if you account for all the python 3 versions.

Flutter vs React-Native - Why react-native will continue to dominate

I think that  Flutter , Google's attempt at competing with react-native , will flop and react-native will continue to dominate, here's a few reasons why. Please note that I have used react-native for almost a year now but not flutter. This is just a comparison and what I see as after looking at and using some of the apps and docs from each framework. Let me discuss the pros and cons that I see of each. React-native Pros: 1. Native widgets. 2. React community is huge 3. Any npm package works 4. Smaller apps 5. Feels fast Cons: 1. Bridge can be slow (though I never had this problem in our app) 2. IDE integration is not as good 3. Javascript querks Flutter Pros: 1. Great IDE integration. 2. Non native widgets - Easier customization 3. Starts up and feels fast Cons: 1. Does anyone use Dart outside of Google? 2. Non native widgets, very poor support for iOS looking "cupertino" components. Supported components lack a lot of features (so i