Home>Article>Backend Development> Why do most programmers look down on the PHP language?

Why do most programmers look down on the PHP language?

青灯夜游
青灯夜游 Original
2019-10-16 17:37:58 5410browse

Why do most programmers look down on the PHP language?

#Why do most programmers look down on the language PHP?

The reason is very simple. People have different pursuits:

1. Some programmers enjoy how many IT tools they have and how many professional tricks they know. PHP This language is mainly suitable for rapid development of web projects with medium concurrency and light-weight script task development. It is not a universal IT tool and does not have many in-depth language features, so it does not meet the demands of these programmers.

2. Some programmers are oriented on how to solve domain problems quickly and at low cost, focusing on cost. As the main engineering language, PHP can quickly meet project delivery and meet the vast majority of projects on the market that do not have high concurrency requirements. It meets the IT needs of enterprises and therefore meets the demands of these programmers.

People's demands are diverse, so the question itself can be understood as "Why doesn't everyone look down on/look up to PHP?", well... This is an idea that hopes to standardize human thinking. .

Why is the PHP language criticized by so many people?

As an old PHPer who has been developing for many years, here are some advantages and disadvantages for you to judge.

1. Low entry barrier

PHP’s unique syntax mixes C, Java, Perl and PHP’s self-innovated syntax. (To put it simply, you use several other languages and use them partially. What do programmers in other languages think?) Many people can make relatively good things and get started quickly after studying by themselves for a few months. , you can write a web application with html, css, and js.

The threshold is low, you can find a job after just a few months of study, you can make money, and the salary is okay

The development speed is fast, a small and medium-sized web project can be completed in one to three months You can come out.

2. Small amount of code and fast development speed

Many people find that they have to write a lot of code and it can be completed by just adjusting a function in PHP. Are you angry?

3. Low development cost

The most classic combination of PHP is: linux Apache mysql PHP, referred to as (LAMP, Band of Brothers). All software is open source and free, which can reduce investment.

4. Strong cross-platform capability

Because PHP is a script that runs on the server side, it can run under UNIX, LINUX, WINDOWS, and Mac OS. At present, WeChat's secondary development is basically developed using PHP.

Why do most programmers look down on the PHP language?

#There are so many advantages, but the flaws are also fatal.

1. Low remuneration

In fact, the position on the programmers’ contempt chain is closely related to the salary...

When a certain technology is at the forefront of popularity , everyone is talking about it, and various giants and new startups are using it, and the income will naturally increase. On the contrary, if a certain technology is declining and being replaced, and senior developers are "defecting" to other new technologies, the proportion of rookies among practitioners will become higher and higher. As the average income drops, others will look at them with contempt. It's getting more glaring.

Take the latest survey conducted by stackoverflow in 2016 as an example.

Why do most programmers look down on the PHP language?

Why do most programmers look down on the PHP language?

Can you find out which technologies bring extra points to your income? They are cloud computing, React, Node, Angular, Scala, Hadoop and other emerging technologies that have emerged in recent years.

Although PHP is ranked fifth in popularity, its income level ranks at the bottom or even bottom no matter which group it belongs to...

2. Growth space

Easy to get started, hard to master. A NB PHP programmer usually has extensive research in JAVA, C language and other languages. However, based on the first point, some people learn other languages after learning PHP, and then change languages to develop. Since entry-level PHP does not require the use of low-level features, some developers who have been around for five years have not seen much low-level code, and even fewer are proficient in it.

3. Not commonly used in large enterprise development and software development

Since PHP is mainly used for WEB development, it is rarely used in large enterprise development and APP development. If you add a premise, PHP should be the best language in the WEB field. In this case, I think it is completely fine~

4. Work perspective

Compared with other languages, PHP has more exposure to There are a lot of girls there, and occasionally I ask them to help me make a page or something, and the result is usually quite cool, hahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahahaha; Two sentences~

5. The core of constant mutual contempt

Language debates have been around since ancient times. No language can be valued by all programmers. But it can be seen in the picture below

hahahahaha

Why do most programmers look down on the PHP language?

Each language has different fields of action and naturally has limitations. But it is undeniable that PHP does have a lot of job opportunities. It is a server scripting language. It is cheap, has many open source frameworks, and can get started quickly. You said that Java can build large-scale applications, and PHP can quickly develop web sites. This is not wrong. The despised language is always improving, isn’t it? Just like a person who is still actively seeking progress after being scolded, is this worthy of contempt? Worth the effort? Nothing in the world is perfect, and every industry is working hard to improve. Swoole and PHP7 have also redefined PHP.

The above is the detailed content of Why do most programmers look down on the PHP language?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn