Home>Article> Why do programmers hack PHP? PHP Chinese website has something to say!

Why do programmers hack PHP? PHP Chinese website has something to say!

PHPz
PHPz Original
2018-08-20 17:07:15 35388browse

Why do programmers like to hack PHP?This is it! Try calling PHP garbage, and I’m sure PHP programmers won’t beat you up! It's like your own alma mater. Even though there are many bad things about it, you only allow yourself to make fun of it and don't allow outsiders to curse. In fact, it's the same for PHP developers. When they have nothing to do, everyone just uses "PHP is the best language in the world"as a joke, or introduces themselves as a "pornographic film" entertainment Get off yourself. In fact, we have not seen real programmers criticize PHP until now, and those who hack PHP are those who do not understand, or some training institutions in other languages deliberately hack.

On the other hand, if php is often hacked, it will be a good thing! There are only two languages in the world: those that no one uses and those that are often criticized. No matter whether you criticize, criticize or criticize, it can't change that PHP is the most commonly used language for website development! In fact, what the editor of PHP Chinese website wants to say is that every language has its advantages and disadvantages, and the most important thing is the programmer! There is no best language, only the best programmers. See for details:The growth story of a programmer on why the PHP Chinese website was founded!

Why do programmers hack PHP? PHP Chinese website has something to say!

The following are excerpts of some professionals’ views on the PHP language:

1. It doesn’t matter if you are hacked Yes, the key is that PHP can quickly solve most problems. The number of PHP positions recruited by domestic companies explains everything.

After a rough look at 51job, in the past month, JAVA ranked first with more than 20,000 positions, PHP ranked second with more than 10,000 positions, and other languages were in the order of thousands. For example, Python only had more than 1,000 positions.

2. The first question, if you just want to simply write a background program, you don’t need to learn too muchhtml/cssEspecially css, the background program is basically logic, and css is basically It won’t be used too much, but you still need to understand some basics. You need to know how to use the basic HTML tags. You don’t need PHP to submit the form and you don’t even know how to use

. In short, if you want to learn the backend first, you still need some basic HTML. In fact, I think you can learn the front-end and back-end together. It is not difficult. Take a look at the examples in the PHP manual on thephp Chinese website. The basic syntax can meet the needs of beginners, and learning is faster. In short, you still need to learn some basic HTML. Second question, after studying for a period of time you will understand why so many people are hacking PHP. In fact, many people are just making fun of it. There are many people hacking it, which means that many people are using it. In addition, the learning curve of PHP is relatively steep, and it is very fast to get started like JS, but to write very standard, elegant and high-quality code requires constant boss upgrades, otherwise the code like Xiang will of course be hacked.

3. In fact, programmers hope that one technology (language) can dominate the world and be invincible! It’s a pity that it hasn’t appeared yet. The current situation is a hundred schools of thought contending. PHP has too many problems. From a functional perspective, it is not cost-effective. For small and medium-sized web development robots, from the language itself, there are endless $ and various functions. The naming is not standardized enough, the early version does not support object-oriented, etc. The attractiveness of PHP is that it has low learning cost, is quick to get started, and has many famous CMS (and many loopholes)! In fact, the reason why people are often hacked is because they are used a lot. Just like you rarely hear that Linux systems are attacked, and win often has various dangerous vulnerabilities, because there are few users, the chance of being hacked is small, not because Linux does not have loopholes. It's hard to agree with everyone, so don't worry about being hacked or not, they all have their greatness!

4. There is no best language, only the best programmers. Any mature programming language is the best. As you can imagine, I have been programming for ten years and have been exposed to various languages to a greater or lesser extent, but I still dare not say that I can write a programming language. This shows that the people who wrote this language can tell. Since those talented people created this language, it naturally has its advantages. Inconvenience to use or limited efficiency can only mean one problem, that is, the programmers are too bad.

5.PHP is hacked precisely because it is too simple. Do you have to write assembly to make binary look superior? All kinds of bad grammar, confusing naming, and poor performance are all covered in the face anyway. Seriously, there are so many broken things in a small and medium-sized system. Just take the whole one. I don’t believe that so many people on Zhihu are writing about Facebook-level applications. It is said that PHP is not rigorous, and now that strong typing is available, there are still people who are BB. So is PHP really simple? Should a value be determined using isset(), is_null(), empty() or directly negated? Are you sure you want to filter the data? Do you really know what z_val actually looks like? Let me say that PHP is really not simple at all. Next, I will give you a map shot. Some big names really present facts and evidence. They will express their opinions only after they have really studied it. However, most of them follow the trend! Just like if you don’t spray jQuery, you can’t get involved in the front-end circle. There is nothing in the world that is not hacked. Angular1 is a particularly obvious example. It was very popular when it first came out. After being criticized for poor performance, how many topics are there about Angular1 on Zhihu now? Being hacked is a good thing. The community will see it and improve it. And when there is really no one blackballing. . . He had to die alone.

6. It’s just that these languages have moved the cheese of a certain language. This has caused a certain language salary to be low. Haha, it's all related to interests. I just like Java/PHP/C/JS. I specialize in languages that are criticized by many people. I don’t know how much higher my salary is than yours! If you like Python or Ruby or other languages that are not even ranked in the rankings, you may not even be able to find a job in the future, so you can only go to the forum to discuss other languages to vent your anger. I understand, poor people are like this, haha, what can make money and solve problems quickly is a good language, other C/Python/Ruby. . . I won’t even take a glance at it, I will be eliminated sooner or later! When I use PHP to make money, you can only go to the forum and hack PHP, what else can you do?

Final summary:

PHP has simple and easy-to-understand syntax, no strange black magic, can be both process-oriented and object-oriented, and has various extensions after installation All in one, including but not limited to mysql, json, mbstr, etc., extremely convenient. At the same time, one page is mixed with HTML and PHP. Even the latest version has a built-in small webserver. You don’t even need apache and nginx. You can set up a blog forum in one minute to ask if you are afraid. Foreign Ci,laravel, kohana, zf and other frameworks are emerging one after another, domestic TP and language creators are actively improving and optimizing, and programmers around the world will work with you to fix language bugs. The most important thing is that companies of all sizes use it, so you don’t have to worry about finding a job! Friends who want to learn PHP, please go to"php Chinese website php online practical training class", the master will lead you through the door, and the practice depends on the individual. PHP may not be the best language in the world, but it must be the most suitable introductory language for novices to learn programming, and it is also an excellent language for entering the field of web development.Why are there always people hacking PHP? P friends from the PHP Chinese website are welcome to leave a message below to talk about your views on PHP!

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