41
Python Hype? Brian Ray

GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Python Hype?Brian Ray

Page 2: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Hi,I’mBrianRay• DirectiveYears

1998-2003

• EngineeringYears2003-2006

• LeadershipYears2009-2010

• IndyConsultingYears2010-2013

TakeninChinaMay20th,2016

• BigFourConsulting2013-current

Page 3: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Why“PythonHype”?

Inthelast10years,weareseeingPythonhaving(selectone):A. Slowandsteadygrowth.B. Spikedandnowondecline.C. Spiked+Declinednowstabilized.D. Livesinindependentdomain.E. We(Pythonfans)liveinabubble.

Page 4: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Whatmeasure?

• HypeCycle• TIOBEIndex• OnGithub• PYPL• Someother

Page 5: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Don’ttellmetherearen’ttrends

Page 6: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Programminglanguage“popularity”ishardtomeasure.

Lensestohelpmeasure:1. Learned:wastaughtPythonincourse2. Migrated:fromlanguagetolanguage3. Addressed:problemclasstosolve4. Platform-ed:ecosystemoftools5. Retained:stickingwithPython6. Promoted:Promoted

Page 7: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

OURSURVEY236respondentsbrokenupinto3groups

Page 8: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Who

1

2

3

Groups

Themissinggroup4:Thosewhodidn’ttakethesurvey

Page 9: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

UserDistribution

249%

129%

322%

Page 10: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Treatmentofgroups

• CurveQuestions

• Retained• Promoted

• Addressed• Platform-ed

• Learned• Migrated

1 2

all3

Page 11: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Group1:Learned/Migrated

• 60%heardofpythonWordofmouth• 56%hadverypositivefirstimpression,31%hadpositive,lessthan13%neutralorless.

• Net-promotertorecommend

Page 12: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Group1:Learned/Migrated

Page 13: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Group1:Learned/Migrated

“Python isNowtheMostPopular IntroductoryTeachingLanguageatTopU.S.Universities”ByPhilipGuoJuly7,2014

Page 14: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Group2:addressed/platformed

• 63%verypositive1st impression(3%higherthanGroup1)

• 77.5%verypositive2nd impression(aftermonths)

• 71%verypositive3rd impression

Hypecurve-esk?

Page 15: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Group2:addressed/platformedDislikes:• Poordocumentation• Don’tlikewhitespace• Slow• Preferstaticallytyped• Threading• RuntimenotasubiquitousasJava• GIL• Modelsnotpipinstallable• Inheritancecanbeconfusing• LackofMobiledev support• Thatit’snotLisp• Python2or3choice• PackagesupportforPython3• Python2vs 3• DependencyManagement• InstallationIssues• Smarmyattitude

Likes:• Flexibility,simplicity, transparency• Legibility• Easytolearn• Approachable• Community• “Batteries included”• Corrector“pythonic” way• Standardlibrary• Onlineresources• Scientific libraries• Versatile• Thirdpartylibraries• Onlinecommunities• Concise• Easytogetstarted• NotJava8• Garbagecollection• Greatdepth• Complextimesincluded

Page 16: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Group3:Retainer/Promoter

Group1 Group3

• 53%thinkPythonVeryhighquality,39%High, lessthen9%Naturalorbelow

Page 17: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Group3:Retainer/Promoter

Group1

Group3

Page 18: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Group3:Retainer/PromoterSmalldrawbacks:• 45%Speed• 44%GIL• 30%easytoducktype/monkeypatch

BigDrawbacks:• 9%GIL• 15%UnicodeSupport

Critical:• 5%UnicodeSupport

25%– 50%– 100%––Python 2 (before 2.7) 10.64% 12.77% 2.13%Python 2.7 - 2.x 16.67% 30.30% 43.94%Python 3+ 22.03% 32.20% 23.73%PyPy 14.89% 0.00% 2.13%Jython 4.44% 4.44% 0.00%

Page 19: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Group3:third-party

• Surveyed58mostdownloadedpypi packages• 53%marked“Used”• 24%marked“longtimeuser”• 14%marked“planonlongtime”• 7%marked“stop”

Page 20: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Group3:third-party

TopPlanonlongtime:pip kid virtualenvipython pep8 requests pandas django celeryreportlab

TopStopped:plone pylons pycurl twissted zopenose pyramid

Page 21: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

AllGroups

• Hype

Page 22: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

AllGroups• TIOBE

WhendidPythonPeak:• 2007:1%• 2010:28%• Never:46%• Other:23%

Other:• 2011:whengoogle recruitedfor• Science/webleadtosecond

wave• 2011-2012• 2014• Peakisstillcoming• BigDatawillleadtofuturepeak

Page 23: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

AllGroups

• Github

2008-2009 2014+2010-2013

Page 24: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Github TopPythonProjects

Howforked

0,0

10,0

20,0

30,0

40,0

50,0

60,0

before2010 2013-2014 after2014

JavaScript Ruby

PHP Python

Objective-C C

C++ Java

Shell CoffeeScript

0,01,02,03,04,05,06,07,08,0 PHP

Python

Objective-C

C

C++

Java

Shell

Activity,basedoncount:watched+forked

Page 25: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

AllGroups

• PYPLWhyseeingSteadyupwardLine?

• Hasbroaderrangeofuses,unlikeRuby (railsanddevops)

• MirrorsDataScienceUsage• MirrorsBigDataUsage• Steadygrowth

Page 26: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

OTHERFACTORSSomeother“Popularity”Metrics

Page 27: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Alocalapproach

• Jobs• Meetups

Page 28: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

CorporateSuite

• Python(andR)compatibilitywithCommercialvendors:Datameer,IBM,MicrosoftAzure,Oracle,Platfora,SAP,Tableau,TeradataandTibco Software.

Page 29: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

AdoptioninDataScience

• KDNuggets reportingthat49%ofanalyticsanddataminingdevelopershaveusedR,and35%haveusedPython

Page 30: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

GooglehiringPython

Itallgotstarted,Ibelieve,becausetheveryearliestGooglers (Sergey,Larry,Craig,...)madeagoodengineeringdecision:"Pythonwherewecan,C++wherewemust”- AlexMartelli

Python'sgrowthandacceptanceinitsmanyrolesjusthasn'tfollowedanyups-and-downscurveasmodelswouldpredict-- it'sbeenprettysteadily,graduallyupwardsinstead.

Page 31: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

HIGHLIGHTSSomeinterpretationofresults…

Page 32: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Revisitingourquestion

A. Slowandsteadygrowth.B. Spikedandnowondecline.C. Spiked+Declinednowstabilized.D. Livesinindependentdomain.E. We(Pythonfans)liveinabubble.

Page 33: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Slowandsteadygrowth.Supports:• Strongfirstimpressionsfrom

Group1,2,3• Strongretentioningroup2• Spikesnot

measuresaslarge

• 30%ofhardcoreusershaveswitchedtoPython 3+50%ofthetimeormore

• BecauseAlexMartellisaysso

Negates:• 20%nodisruptive• 5%increaseinwatchers+forkers on

github• Wedid

measuresomespikes

Page 34: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Spikedandnowondecline.Supports:• Somedomain-specificlanguages,

pushdown?• Lackofmobilesupport• Smallamountofdegative:2/3

support, swarmy

Negates:• Lackofsignificantdatashowingdeclinein

Python popularity• Verylowactivityscoresconfirmingdecline• Notmuchnegativepress• 46%sayneverpeaked

Page 35: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

Spiked+DeclinednowstabilizedSupports:• 30%DataSciencemarketuses

Python• ¼surveyedseeasinreached

Productivity/maturity• TOIBEshowssomespike-ish

around2010- 28%surveyedagree

Negates:• Hardtomeasuremarketpenetration,isit

20%• Ofthirdpartypackages,only14%planon

usingwhattheyusenowforalongtime

Page 36: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

LivesinindependentdomainSupports:• Python remainedsomeoneon

effectedonthePYPLIndexwhereclearlyotherlanguagesebbedandflowed

Negates:• GoogleandotherssiteusingPythonwith

other languages• Consideredgood-glue• Commercialsoftwarevendorsadding

Python support

Page 37: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

We(Pythonfans)liveinabubbleSupports:• Nearly90%approvalratingis

insane,andthat’swhotookthesurvey

• 45%ofusersfoundPython fromWordofMouth

Negates:• Python livesintwomanydifferent

independent domainstobeblindsided

Page 38: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

SOMECLOSINGTHOUGHTSInmyownwords

Page 39: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

TheFutureofPython

• A goodchoicetolearn• Notgoingaway(anytimesoon)• Getinvolvedwithyourlocalcommunity• Contributeinyourareaofinterest• PythonAdditionHelpline• Opennessallowsselffulfillingprophecy• Still,don’tliveinavacuum,learnotherlanguages!

Page 40: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting

THANK YOU!

BrianRayEmail:[email protected] [email protected]

https://www.linkedin.com/in/brianray

https://twitter.com/brianray

https://github.com/brianray

http://chipy.org

Page 41: GOTOchicago16 PythonHype BrianRay slideshare€¦ · Hi, I’m Brian Ray • Directive Years 1998-2003 • Engineering Years 2003-2006 • Leadership Years 2009-2010 • Indy Consulting