r/Python • • Aug 25 '17

Why is there such a demand for Python programmers?

https://medium.com/@petloverooka/why-is-there-such-a-demand-for-python-programmers-be3876fb58b6
2 Upvotes

7 comments sorted by

4

u/simon_hibbs Aug 25 '17 edited Aug 26 '17

In addition to the sectors mentioned in the article, Python is a very hot skill to have in finance these days as well. However the article doesn't answer the question. It just provides more assertions that Python is popular for this or that. It doesn't say why.

Python is very pragmatic in its design. It doesn't try to be pure, or follow some particular computer sciencey paradigm to an ideal extreme. It's Object Oriented but doesn't try to shove objects down your throat all the time like Java or Smalltalk, also unlike those languages it doesn't try to abstract away the entire system environment in its own little world. It has functional programming features, but isn't purely functional like Haskel obsessively minimising 'side effects'. It's easy to create modules in C, for fast performance in critical code. Also the module system is flexible and easy to use.

The only other language that comes close is Ruby, but I think Python beat it in popularity partly because a Python came along first. Ruby aimed for the same role as Perl, while Python always had its sights a bit higher at being a general purpose language. Also Guido being in the US, and Denmark having a history of strong Computer Science chops, helped on the publicity and approachability front. That may not be 'fair' but social factors do make a difference.

What really made Python so popular recently though is the wide range of high quality, high performance external modules. Numpy and Scipy for number crunching. Matplotlib for plotting. Django and Flask for web development. PyQt for desktop application development. But I think the reasons I gave above help explain how come it got those modules and frameworks in the first place. I chose Python about 15 years ago because it could do a bit of everything and wasnt pigeonholed in a main niche like the web, or text processing, or desktop programming. It had it all.

3

u/OptionalAccountant Aug 25 '17

I think it is rather high, I keep hearing it is he second most popular/used language behind JS.