Massive Python Survey Reveals Popularity of Linux and PyCharm, Just 10% Still Using Python 2 (zdnet.com) 53
The Python Software Foundation and JetBrains collected over 24,000 responses for the third annual Python Developer's Survey. Among its findings: 59% said they used Python for data analysis, "followed by web development at 51%, and machine learning at 40%," reports ZDNet:
Other major applications of Python include DevOps and system administration (39%), programming web tools like crawlers (37%), software testing (31%), education (26%), software prototyping (25%), network programming (21%), desktop development (18%), computer graphics (14%), embedded system development (8%), game development (7%) and mobile development (6%).
However, at 28%, web development remains the top purpose when respondents were asked what they used Python for the most. It is followed by data analysis (18%), machine learning (13%), and DevOps, and system administration (9%).
Good news given that the final version of Python 2 was just released, the survey found that 90% are using Python 3, up from 84% in 2018. Of those still on Python 2, 45% are using it for web development, and 41% are using it for DevOps and system administration. PSF speculates that web development's dominance in Python 2 is because of legacy code...
Some 68% of Python developers are building on Linux, followed by Windows at 48%, while macOS has a 29% share...
The PyCharm integrated development environment (IDE) from JetBrains is once again the top IDE with a 33% share, followed by Microsoft's open-source cross-platform editor VS Code with a 24% share.
Python adoption is often attributed to its moderate learning curve. The survey found that 44% of users have just two years' experience and 30% had three to five years' experience.
However, at 28%, web development remains the top purpose when respondents were asked what they used Python for the most. It is followed by data analysis (18%), machine learning (13%), and DevOps, and system administration (9%).
Good news given that the final version of Python 2 was just released, the survey found that 90% are using Python 3, up from 84% in 2018. Of those still on Python 2, 45% are using it for web development, and 41% are using it for DevOps and system administration. PSF speculates that web development's dominance in Python 2 is because of legacy code...
Some 68% of Python developers are building on Linux, followed by Windows at 48%, while macOS has a 29% share...
The PyCharm integrated development environment (IDE) from JetBrains is once again the top IDE with a 33% share, followed by Microsoft's open-source cross-platform editor VS Code with a 24% share.
Python adoption is often attributed to its moderate learning curve. The survey found that 44% of users have just two years' experience and 30% had three to five years' experience.
Pycharms, Shitbrains... (Score:4, Insightful)
The new generations just can't use a programming language without a nanny IDE to hold their hand and download libraries for them from the Internet.
Small wonder even the most trivial script downloads an imperial assload of junk that does nobody knows what and has all the bugs in the Universe and then some.
Degradation is the new norm.
Re: (Score:2)
Well, I wish I could mod you up.
Re: (Score:2)
Re: (Score:3)
I'm not the OP badass super genius, but someone just learning Python asked me what I use for an IDE. I said "whatever annoys me least." That usually means TextMate (the old one, not the new one) on a Mac, Kate on Linux, and nano over ssh.
IDEs *might* be okay when you're experienced and know what features to use and which to stay away from. They're terrible for learning. Even worse, Jupyter notebooks have trained an entire generation of "coders" who don't even have the attention span to write a no flow contr
Re: Pycharms, Shitbrains... (Score:1)
For someone just getting started, I advocate learning Vim (or emacs if that floats their boat). Vim is tiny, available on almost any *nix system, and quite powerful (for its size).
A good carpenter should be able to build a house with nothing but hand tools.
But for serious work, I recommend the IntelliJ family of IDEs. (With VI-keys enabled of course.) Nothing else I've tried approaches their power - especially some of the refactoring tools.
A good carpenter usually prefers to use power tools when building a
Re: (Score:2)
A good carpenter usually prefers to use power tools when building a house.
So you're saying you don't use Python, then?
Re: (Score:1)
Vim is tiny, available on almost any *nix system, and quite powerful (for its size).
JOE [sourceforge.io] is even smaller and easier to use.
Re: (Score:2)
I wouldn't call myself a coder, it is just a tool for me to accomplish other goals, but have never (about 10 years) used anything more than a text editor.
Re:Pycharms, Shitbrains... (Score:5, Insightful)
I can code handily enough in vi, but I produce far fewer bugs when I've got something checking syntax, arguments, properly enclosed control structures and so forth.
Re: (Score:1)
It's Python there are no braces. You write a program longer than 10 lines and it becomes unreadable.
Re: (Score:2)
Yeah, on a program made up of numerous source files, resource files, library headers and tens of thousands of lines of code, and IDE is handy. I can work without one, and did for years, but since I don't have an allergy to making my own life easier, nor do I have to otiv anything to some AC trollz all I can say is fuck you, and I doubt you do anything but PHP WordPress programming and stealing JavaScript snippets .
Re: (Score:3)
Re: (Score:2)
Java is a nightmare to code without an IDE because you're constantly opening new files in a large file tree. My experience with Python has been that files contain more and they're typically packaged closer together in the file system. I've done both with and without an IDE, but now I typically use IntelliJ for Java and emacs for Python
Re: (Score:3)
It was one of those things that were so refreshing with Python when I started. I didn't need an IDE or a build tool, it just worked. There's not much boiler plate code (Java) and I don't need a meta-language to compile (C++ with whatever build tool) or a separate test tool/GUI to run tests.
I'm a bit annoyed by Python 3 and the changes to relative imports since I must often set up an appropriate python path to run stuff since executable scripts can't contain relative imports. I know the old ways had flaws an
Re: (Score:2)
I just glanced through the PyCharm features list to remind me why I don't use it.
Looks like it will maintain your requirements.txt for you. If it's burdensome to maintain the list of requirements for your program, it's going to be much more so for anyone else to install all that crap.
Re: (Score:3)
everyone at work who does python insists on having this app installed (pycharm).
I don't get it. I'm an emacs guy and never got into IDEs like that, but guys seem to like it a lot.
thing is: it crashes video all the time. intel onboard video (older i3 and i5, even i7) crash the x-server all the damned time with pycharm. nothing else does that. happens mostly on linux mint but also does happen on ubuntu. tried lots of intel video updates, kernel updates, userland. nothing stops pycharm from crashing.
it a
Re: (Score:1)
I just glanced through the PyCharm features list to remind me why I don't use it.
Looks like it will maintain your requirements.txt for you. If it's burdensome to maintain the list of requirements for your program, it's going to be much more so for anyone else to install all that crap.
PyCharm can generate a requirements file if you want it. The default is, that it doesn't.
If you want to pip install your libraries manually, do that. (I prefer this)
The same goes for many of the integrated tools. For example if you prefer to use git from the command line (like me) then
you can do that and PyCharm will notice and keep the git visualisation in sync, and tempt you with a nice visual interface to
compare files..
If you're happy with EMACS (no idea if it's as good as VIM, which I like for small Pyt
Re: (Score:2)
If you're happy with EMACS (no idea if it's as good as VIM, which I like for small Python scripts) then you don't need PyCharm.
Emacs can emulate vi/vim, so, yes, it's as good as they are. :-)
It's not an IDE like most are thinking, but does have some IDE features. Emacs is an order of magnitude better editor than most other editors, but has (or can have) a steep learning curve. I've been using it since the '80s, so am an intermediate to slightly advanced user. :-) [I have written some code in Emacs LISP for myself, which was trivial for me as I was also a LISP programmer.]
Re: (Score:2)
> Emacs is an order of magnitude better editor than most other editors,
i keep hearing this, and i just don't buy it. if your editor has features like those that GP listed (autocompletion, refactoring, navigating between files, debugging and inspecting code and running tests) built in and you use them all day every day to do your job, then that makes it better than editors that don't (eg emacs or n?vim).
Re: (Score:3)
Not "kids these days" nor IDEs. This phenomenon has existed for as long as computing has been profitable. I performed the "basic for-loop" interview back in the late 90s when folks were getting hired if they could spell "HTML". Folks wanting/needing a job and trying to get in by hook or by crook is tale as old as a capitalist society. Why should programming be any different.
https://blog.codinghorror.com/... [codinghorror.com]
Re: (Score:2)
Re: (Score:3, Informative)
That is supposed to be " ... in the snow, uphill both ways ..." Clearly you need an IDE to help you out.
Re: (Score:2)
Damn straight! When I was their age I walked five miles to school, barefoot, in the snow, both ways! And smoked cigarette butts from the gutter while I did.
That is supposed to be " ... in the snow, uphill both ways ..." Clearly you need an IDE to help you out.
An IDE would have also told him to put on shoes and stop smoking ...
Re: (Score:2)
OK, Boomer.
Whatever, snowflake.
Re: (Score:2)
While I do not disagree, I find that it coding in Python is without IDE (I frankly hate them...) is not harder than coding in an older language like C. The most important thing, like always in any engineering, is to understand what you are doing and IDEs make that harder. The "modern" far-too-helpful IDEs make it almost impossible sometimes.
Re: (Score:1)
Re: (Score:2)
The new generations just can't use a programming language without a nanny IDE to hold their hand and download libraries for them from the Internet.
1. Lots of people that are using Python aren't computer engineers/programmers by trade and training. It's the tool people are turning to when Microsoft Excel falls on it's face.
2. There's a big push for people to "learn to code" and Python IDEs and downloadable libraries lower the barrier to entry. Conversely, this is likely why the supply of COBOL programmers is small.
I don't think it's a generational thing. I think if you grab a recent graduate in computer science, they will be able to code just fi
The only time I ever use Python... (Score:4, Funny)
Re: (Score:2)
Re: (Score:3)
Re: (Score:2)
Re: (Score:2)
Re: The only time I ever use Python... (Score:3, Informative)
You take pride in writing code that is hard to understand? I think the dev community needs to move away from those kinds of patterns.
Beautiful code to me is code even my non coding customers can look at and understand roughly. Code is communication, not surreal art. I find that's a principle that helps myself whenever I revisit my old code base.
Re: (Score:3, Insightful)
Isn't maths a fundamental requirements for coding? (Score:1)
Re: Isn't maths a fundamental requirements for cod (Score:2)
Re: (Score:3)
That's because it isn't a "Massive Python Survey", it is a "Monty Python Survey" -- the Holy Grail of all surveys.
Re: (Score:2)
Re: (Score:2)
Linux will dominate everything eventually (Score:2)
Linux will dominate the desktop when only developers use the desktop. Eventually typical humans will stop using desktops and interact with humans via AI speech and motion recognition (which is running Linux). Only programmers will have a computer desktop, which is running Linux.
Re: (Score:2)
In other news (Score:2)
skewed? (Score:2)
Not seeing any python 3 use in the data analysis or banking corporations I deal with, it's all an infrastructure of python 2, which of course will be supported for years in major distros.
Re: (Score:1)
A lot of projects are simply changing the interpreter from Python2 to Python3 without really testing all the edge cases or insisting that code is portable between the two languages. However libraries are changing from 2 to 3 and things are breaking if you still running code based on Python2 so you have instances where you're stuck on old and broken libraries OR you have a project that doesn't run in Python 2 but its edge cases require Python 2.
Benefits of Python IDEs for SSH connections? (Score:1)