


If you have money, you can use Python, but if you don't have money, PHP is the best programming language.
If you have money Python, if you don’t have money PHP, programming languages are too poor to love the rich...
Recently, in the Stack Overflow survey report on the distribution of global mobile developers, it was found that compared with high Android is more widely used in low-income countries.
So what does this really mean? It makes us think deeply about how national programming technology differs in different economic backgrounds, and how it affects our view of the global software development industry. This article will take you through these differences and explain the need to divide the software development industry into high-income countries and the rest of the world.
Survey report analysis is based on the 250 most used programming language tags in 2017 (January-August). To reduce margin of error, we only analyzed the 64 countries with 5 million or more visits to various programming languages during this period.
Per capita GDP related technologies
In a recent article "Where in the World is Mobile Development?", we used the "Stack Overflow Trends tool" to analyze Android Traffic proportion is often negatively correlated with a country's per capita GDP. This prompted us to find out if the same was true for other programming languages.
When digging into the major programming languages and platforms, apart from Android, some of the other major languages are PHP, Python, and R.

As can be seen from the above figure, the number of Android and PHP usage is negatively related to a country’s income However, Python and R languages are just the opposite, showing that the more developed countries are, the higher the frequency of use. Under this trend, we have also found some exceptions. For example, South Korea uses Android more frequently than expected, while China uses Python more. However, generally speaking, the correlation between the traffic of this language and the country is relatively strong. of.
It is also necessary to make a special statement here: Based on the above statistics, it does not mean that the choice of programming language will affect the average income of a country, and the GDP of a country will not affect development. There is no causal relationship between the two when it comes to the choice of programming language.
Why should the world’s software development industry be divided into two types?
When studying trends, it is found that it is more useful to divide the software development industry into two groups of countries (high-income and non-high-income) than to consider a range of other related factors. As a valuable classification we can use the World Bank income classification based on GNL (Gross National Income) per capita.

There are 78 high-income economies in total, mainly composed of the United States and Canada, Western Europe, the Middle East and East Asia Parts of the region and Australia/New Zealand. We have done some analysis of the underlying drivers of differences between countries (e.g. principal components analysis) and think this is a reasonable division and one that makes more sense than other splits, such as Eastern Hemisphere vs. Western Hemisphere. (For example, Australia is more similar to China or Indonesia in terms of access to and use of programming technology).

What are the technological differences between high-income countries?
Now the world's software development is divided into two sections: high-income countries and non-high-income countries. So what are the technical differences between the two?

This article extracts several interesting insights:
Differences in Data Science Technology: As mentioned above, Python and R languages are related to a country’s income. In high-income countries, Python is accessed twice as often as in the rest of the world, and R approximately three times as often. In addition, we may also notice some small tags, most of which are Python and R language packages in science and technology, such as pandas, numpy, matplotlib and ggplot2. This suggests that part of the difference in earnings between the two languages may be due to their use in science and academic research. In richer, industrialized countries, these technologies are used more frequently, scientific research makes up a larger part of the economy, and programmers can earn higher degrees.
C/C++: C/C++ are two other languages that are commonly visited in developed countries. I guess one of the main reasons is related to the country's education: because in a previous article, we learned that C and C++ have become one of the most visited languages disproportionately in American universities. Another reason may be related to the geographical distribution of electronics and manufacturing.
PHP and Android: In addition to Android development technology being more widespread in low-income countries, PHP also ranks in the top 5. Interestingly, CodeIgniter is a PHP open source framework, and this framework is often visited separately in low-income countries. Further investigation revealed that CodeIgniter has a lot of traffic in South/Southeast Asia (especially India, Indonesia, Pakistan, and the Philippines), while there is very little traffic in the United States and Europe. It follows that CodeIgniter may be a popular choice for outsourcing companies building websites.
Conclusion: Why is it so important?
These conclusions are an interesting fact for the programming language ecosystem. Through this article, we distinguish two software development industry problems that are "blended" together. Often, we're interested in which technologies are used more and drive more traffic, such as Flash, which disappears over time. If we were to make a ranking of the most popular programming technologies, it would differ between high- and low-income countries:

For example, so far, Python ranks second among frequently visited tags in high-income countries, but only 8th in the rest of the world; R language ranks 15th in high-income countries , but it doesn’t even rank in the top 50 in other countries.
Therefore, for corporate recruitment in different countries, recruiters and talents need a different set of reference values.
The above is the detailed content of If you have money, you can use Python, but if you don't have money, PHP is the best programming language.. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.

PHP is suitable for web development and rapid prototyping, and Python is suitable for data science and machine learning. 1.PHP is used for dynamic web development, with simple syntax and suitable for rapid development. 2. Python has concise syntax, is suitable for multiple fields, and has a strong library ecosystem.

To run Python code in Sublime Text, you need to install the Python plug-in first, then create a .py file and write the code, and finally press Ctrl B to run the code, and the output will be displayed in the console.

PHP originated in 1994 and was developed by RasmusLerdorf. It was originally used to track website visitors and gradually evolved into a server-side scripting language and was widely used in web development. Python was developed by Guidovan Rossum in the late 1980s and was first released in 1991. It emphasizes code readability and simplicity, and is suitable for scientific computing, data analysis and other fields.

Python is more suitable for beginners, with a smooth learning curve and concise syntax; JavaScript is suitable for front-end development, with a steep learning curve and flexible syntax. 1. Python syntax is intuitive and suitable for data science and back-end development. 2. JavaScript is flexible and widely used in front-end and server-side programming.

The core benefits of PHP include ease of learning, strong web development support, rich libraries and frameworks, high performance and scalability, cross-platform compatibility, and cost-effectiveness. 1) Easy to learn and use, suitable for beginners; 2) Good integration with web servers and supports multiple databases; 3) Have powerful frameworks such as Laravel; 4) High performance can be achieved through optimization; 5) Support multiple operating systems; 6) Open source to reduce development costs.

Golang is better than Python in terms of performance and scalability. 1) Golang's compilation-type characteristics and efficient concurrency model make it perform well in high concurrency scenarios. 2) Python, as an interpreted language, executes slowly, but can optimize performance through tools such as Cython.

Compared with other programming languages, MySQL is mainly used to store and manage data, while other languages such as Python, Java, and C are used for logical processing and application development. MySQL is known for its high performance, scalability and cross-platform support, suitable for data management needs, while other languages have advantages in their respective fields such as data analytics, enterprise applications, and system programming.
