SoFunction
Updated on 2024-11-19

Why are there fewer black python's compared to PHP?

Why do programmers like to hack php?If php is hacked a lot, it's a good thing! There are only two languages in the world: the one that nobody uses and the one that gets sprayed a lot. Whether you spray or not, black or not, scolded or not, can not change the PHP language is the most used language for web development! In fact, PHP Chinese net editor would like to say, which language has advantages and disadvantages, the most important or programming people! There is no best language, only the best programmer, in fact, for php developers, we are fine when the "PHP is the world's best language" as a terrier, flirting with flirting, or to introduce themselves as "php's" entertainment! The first thing you should do is to introduce yourself as a "php'er" to entertain yourself. In fact, so far we have not seen real programmers curse PHP, and those who black php, are those who do not understand, or some other language training institutions deliberately advanced black.

Here are some excerpts of what some professionals have to say about the PHP language:

  • It doesn't matter if you get hacked, the point is that PHP can solve the vast majority of problems quickly. The number of PHP jobs being filled by domestic companies says it all.
  • Roughly looked at the MileagePlus, nearly January JAVA first more than 20,000 jobs, PHP second more than 10,000 jobs, other languages are a few thousand quantitative, such as Python only more than 1,000.
  • The first question, if you just want to simply write the background program, you can not learn too much html/css, especially css, background program is basically logic, css basic can not use too much, but still want to understand some of the basics, html basic tags to know how to use, don't php submit a form even <form> these will not be used, in short, first learn the background then! Or a little bit of html foundation it. In fact, I think you can completely front-end background together to learn, in fact, is not difficult, look at php Chinese network in the PHP manual in the example, the basic syntax can meet the needs of beginners, learning is also relatively fast. Anyway, you still need to learn some basic HTML. the second problem, after studying for a while you will understand why there are so many people black PHP, in fact, many people are just flirting with it, black it's a lot of people, it means that there are a lot of people in the use. In addition, the learning curve of PHP is steeper, the introduction is very fast like js, but to write a very standardized elegant high-quality code need to constantly fight the boss upgrade, otherwise the code like Xiang of course to be black.
  • In fact, programmers hope that a technology (language) to reign supreme, omnipotent and invincible! Unfortunately, has not yet appeared, the status quo is a hundred schools of thought, PHP there are too many problems, from the functional level, cost-effective, small and medium-sized Web development robots, from the language's own design, endless $, a variety of function naming is not standardized enough, the previous version does not support object-oriented, and so on ~ PHP has the attraction of the place is to learn the cost is low, quick to get started, the famous CMS (loopholes)! (and many loopholes)! In fact, it is often hacked because it is used a lot, just like you seldom hear of Linux system being attacked, while Win often has all kinds of dangerous loopholes, because there are few users, so the chances of being hacked are small, not because Linux does not have loopholes. There's a lot of talk, so don't worry about being hacked or not, it's all great in its own way!
  • There is no such thing as the best language, only the best programmer. Any mature programming language is the best. As you can imagine, I have been engaged in the program for ten years, a variety of languages are more or less exposed to, but still do not dare to say that I can write a programming language out of the people who wrote this language can be seen. Since those who create this language naturally has its superiority, it is not easy to use or efficiency limitations can only indicate a problem, that is, the programmer is too good.
  • PHP is hacked precisely because it's so simple. Do you have to write assembly and binary to look superior? All sorts of bad syntax, confusing naming, poor performance, whatever you can put on your face. Seriously, a small to medium sized system doesn't have to do all that. Just make a whole one and get on with it. I can't believe that so many people on KnowledgeBase are writing applications of the magnitude of Facebook. I can't believe so many people on Facebook are writing applications of the size of Facebook. Should a value be determined with isset(), is_null(), empty() or just inverse? Are you sure you can filter data? Do you really know what z_val is really like? If you ask me PHP really isn't simple at all. Here I come to a map gun there are some big bulls black really is the facts and evidence, really studied before commenting. However, more often than not, it's just a matter of following the wind and spraying! As if not spray jQuery there is no way to mix in the front-end circle. Angular1 is an obvious example. Angular1 is a particularly obvious example. After that, it was sprayed by all kinds of bad performance reasons, and now there are still a few topics about Angular1 in the know-how. It's good to be hacked. The community will see it and improve. And when no one really hacks it. Only to end up in despair.
  • It's just that these languages have moved the cheese of so-and-so language. It's a bad thing that so-and-so's language is underpaid. Oh, it's all about interests. I like Java/PHP/C/JS, and I specialize in the most hacked languages, and I don't know how much higher my salary is than yours! You guys like Python or Ruby or other languages that don't even make the list, you probably won't be able to find a job in the future, so you can only go on the forums and hack other languages to vent your frustration. I understand, poor people are like this, what can make money and solve problems quickly is a good language, other than C++/Python/Ruby, I won't even look at it. I will not even look at a glance, sooner or later be eliminated! When I use PHP to make money, you can only go on the forum to hack PHP what else can you do?

Final Summary:

PHP has a simple and easy to understand syntax, there is no strange black magic, both process-oriented, but also object-oriented, after the installation of a variety of extensions all in one, including but not limited to mysql, json, mbstr, etc., convenient to the extreme. A word , a page on the html and PHP mixed , and even the latest version of the built-in small webserver , even apache and nginx do not have to go on , a minute to build a blog forum to ask if you are afraid of , foreign Ci, laravel, kohana, zf and other frameworks are endless, the domestic TP, the language creators are actively optimizing the progress of the language bugs. Programmers all over the world to repair with you. The most important thing is that the size of the company are used to find a job without worrying about ah. PHP may not be the world's best language, but he must be the most suitable for novices to learn programming language, but also to enter the field of Web development of the excellent language.

Expanded Perspective:

Even though PHP is great to use, it's not exactly a refined language. Any developer with some knowledge of software development can write great software in PHP. However, there are some costs associated with using PHP.

Python's architecture makes it a well-thought-out, well-designed and powerful language. In contrast, PHP's design does not seem to be well thought out. For trained developers, Python has done a lot to make itself a robust programming language that is also easier to master and use.

Both PHP and Python are easy to use. Both have good documentation. However, if you're a developer, you should think about what will bring you the most value in the long run. You definitely want to use the language that you can build a deep, rich, and lasting relationship with.

If you are an experienced developer, then you need to consider the future of languages. You should use the language that will build strong relationships for you and can be used to your best advantage.

To this article on why the relative PHP black python less article is introduced to this, more related to php and python differences and common content please search my previous articles or continue to browse the following related articles I hope you will support me more in the future!