8 ms·
Python Developers Survey 2019 Results
- Beefin 6y agoGlad to see Flask surpass Django, it's always been my favorite web framework regardless of language and forces users to learn their style of software architecture. I personally prefer MVC: https://github.com/esteininger/flask-mvc-boilerplate https://github.com/esteininger/flask-mvc-boilerplate
- ergo14 6y agoSure, just be sure to avoid threadlocals and pass them around explicitly!
- Beefin 6y agothreadlocals = app.context ? Agreed, but that's the beauty of Flask you can just pass around the request context.
- ergo14 6y agoflash, g, redirect, render_template, request, session etc. Ideally request would be passed to view callables and would not be global. That is completely incompatible change so we will never see that I guess :(
- vorticalbox 6y agoI have always enjoyed sanic for my python apis https://sanic.readthedocs.io/en/latest/ https://sanic.readthedocs.io/en/latest/
- nojito 6y agoAll large flask implementations eventually turn into a crappy version of Django.
- stonecharioteer 6y agoI prefer Flask and I agree. However there is a big difference. If you learn how to turn flask into that crappy version of Django, you will thank yourself because you know what choices the Django Devs took. You will know what each section of a Django project is, and why it is that way, or how you can make it follow something nonstandard. I have interviewed plenty of flask and Django Devs, and usually, the Django Devs reply to some of my questions is usually "that's how Django does it" That is a poor, poor answer.
- stonecharioteer 6y agoOh god. I would not recommend that git repo to anyone. It is doing a lot wrong. Look at exploreflask.com for a great example on how to structure production grade flask applications. Read the flask docs, the later sections deal with the create_app factory function and how to use it. It is really good in that sense.
- BerislavLopac 6y agoI was happy to see that Tornado is quite stable in the third place; it's probably the best Python framework currently in existence. Personally I have been moving to Starlette, but it's still far from Tornado's stability.
- galacticdessert 6y agoWell... type hinting does not seem to be very popular
- Macha 6y agoAt 65% of developers using it at least sometimes, it seems surprisingly widespread. Now obviously this survey is going to be somewhat self selected among devs that like to keep up to date and try new things, but 65% having used it in some capacity is pretty comparable to Typescript: https://2019.stateofjs.com/javascript-flavors/typescript/ https://2019.stateofjs.com/javascript-flavors/typescript/
- user5994461 6y agoThe survey has 75% of users on python 3 in 2017, when a good half of popular libraries still didn't support python 3 at all. It's clearly skewed toward devs on the bleeding edge.
- black3r 6y agoI mostly use Python for web development and I've stopped using Python 2 for that with 3.5, so in early 2016, but I do remember that some machine learning or data analysis tools were stuck on Py2 for a little longer. I definitely wouldn't say that half of popular libraries in general didn't support python 3 at all back then, but for some use cases that may have been true tho.
- rbanffy 6y ago> good half of popular libraries still didn't support python 3 I don't know where you took your number from, but I don't think that's the case anymore. Also, a lot of once-popular libraries were succeeded by now-popular libraries that run with Python 3.
- Majestic121 6y agoAccording to https://python3wos.appspot.com/ https://python3wos.appspot.com/ there were already 50%+ of the most popular packages compatible with Python 3 by the end of 2012
- bogdan314 6y agoweb development seems to be twice as popular as ML use. Anyone knows why? Given node.js is known to be much faster while still offering the dev speed of a scripting language. I love python for algorithms and DevOps scripts but feel afraid of using for web as it might end up with huge cost for hosting (higher CPU power)
- pydry 6y agopython has a sane packaging ecosystem and type system. CPU power is cheap and developers are not.
- eru 6y agoTypeScript seems better (or at least on par) typing wise to Python. I don't think anyone is picking Python for it's type system. It's still a second class citizen at best.
- deleted 6y ago[deleted]
- nojito 6y agoCommon misconception. You have startups choosing a language while trying to absorb unsustainable operations costs to justify using the wrong language instead of picking the right language from the start.
- salex89 6y agoUntil 7 years down the line you have to round up a team of your most experienced engineers and add some to figure out how to scale the frecking' thing.
- jhayward 6y agoThis is an outcome most startups pray they are lucky enough to see.
- krzyk 6y agoJavascript & co is not the most popular among backend developers. I for example wouldn't even think about doing anything in it (or in Typescript). Look at https://insights.stackoverflow.com/survey/2019#technology-_-most-loved-dreaded-and-wanted-languages https://insights.stackoverflow.com/survey/2019#technology-_-... Python is not on the list of most dreaded languages, but Javascript is.
- stared 6y agoIs it only my, or the color scheme for some plots (e.g. Python version) is atrocious from the UX perspective? (Small differences in shades, making it hard to read.) good UX != pretty colors
- Debonnys 6y agoOne statistic that stood out for me was "Professional coding experience": < 1 year: 29% 1-2 years: 20% 3-5 years: 20% 6-10 years: 14% 11+ years: 17% -- That means almost half of the respondents have 2 years or less professional experience with python. Not sure how that influences all the other results.
- luckylion 6y agoSounds like they have less than 2 years professional experience, period. That might influence other results even more when it's not about experienced developers who have recently started python, but about developers who have recently started their job.
- lmilcin 6y agoDue to roughly exponential growth in the number of developers of all kind over last couple of decades it is true that at any point most developers have very little experience. I don't remember what was doubling time but I think it was more than two years but less than 5 years. It as also easy to see that the growth is already flattening out with some interesting repercussions in the near future (experienced/inexperienced developers ration finally getting better, etc.) Doubling time shorter for python developers could be explained to be a result of python getting more popular (so even though programming gets more popular as a job, python grows even faster within developer community).
- majewsky 6y ago> Due to roughly exponential growth in the number of developers of all kind over last couple of decades That is certainly true until ~2010, but I wonder if it still holds today. At some point it's got to taper off due to the global population being finite. Anyone got some data on this?
- carapace 6y agoNo hard data to share but there are 2~3B people coming online still, so I doubt the S-curve is leveling off yet.
- deleted 6y ago[deleted]
- aldanor 6y agoHappy to see Rust crawl in into top languages list :)
- mdo123 6y agoMan I can't believe BBEdit didn't make the editor list!