search
HomeBackend DevelopmentPHP ProblemWhy do so many people say php is bad?

I think people tend to have some prejudices when they don’t know much about something. The deeper you understand something, the less bias you will have and you will have your own unique ideas and perceptions. Rather than blindly despise and hate.

Why do so many people say php is bad?

#Every language has its own characteristics and advantages. The same goes for php. Friends who have read the PHP source code will be impressed by its clever concept. At the same time, php is not omnipotent. Each language only works best in its specific context.

Advantages (Recommended learning: PHP programming from entry to proficiency)

1. It is easy to get started, the amount of code is small, and it represents a small effort You can get the results your boss wants at the right price. How many jobs in other languages ​​will this take away?

2. Coding is an art, but many people don’t know what real art is when they first get started. So everyone either likes to learn the lowest level or the most superficial level. At the middle level, everyone either thinks it is superficial or a bit difficult. If you can't achieve high, you can't do low.

3. PHP Siege Lion’s treatment is low, and many people switch after learning a little.

4. After being robbed of your job, you have to find a reason to criticize PHP. For example, it is difficult to become a master of PHP, most PHP programmers are terrible, etc. . . . . As for the technical advantages and disadvantages, which language does not have advantages and disadvantages?

5. Moreover, the PHP MySQL combination is open source and free, and is used by most companies.

6. There are other developers, such as JAVA, C, Python and other languages. The learning costs of these programming languages ​​are greater than PHP, and in terms of use, PHP has a huge advantage.

PHP language, as a scripting language for server-side development, is very famous in website development. Since its creation by Rasmus Lerdorf in 1995, according to a W3Techs survey, PHP accounts for 82% of known server-side programming languages. There are many companies like WordPress and Facebook among them. It is second only to Java in PyPL (Programming Language Popularity Ranking) and ranks sixth in Toibe ranking. High-performance PHP 7 will be released in 2015.

Like all technologies, reviews are mixed. Let’s take a look at why some people love it and others despise it.

Disadvantages: Design flaws, lack of attention

Blogger Eevee said that every functional design of PHP is problematic.

His view of PHP is extremely poor design. Eevee not only dislikes the language, but also disagrees with its framework. He believes that the PHP language is unstable and accidents always occur. PHP is called an opaque language because there are no stack traces and brittle input. There is no clear design philosophy.

Early PHP was influenced by Perl. The standard library with out parameters was introduced by the C language, and the object-oriented part was learned from C and Java.

When Lockhart learned about Eeveef's remarks against PHP, he felt that they were exaggerated. Despite being a supporter of PHP, Lockhart is very patient with criticism of PHP.

The language is not persistent, especially in namespaces and parameter order. Lockhart: These are easy to adapt to and not a big deal.

PHP still has many legacy things, including global variables, magic references, etc. Lockhart: These bad implementations will continue to be eliminated. But before being eliminated, it gives programmers who have bad habits something to do.

PHP doesn’t get enough attention. Lockhart is also constantly working to increase the attention of PHP. Lockhart: People in the community are still paying attention to PHP, albeit intermittently.

Likes and dislikes of a technology come from many aspects, from personal habits to project needs. PHP cannot be loved by everyone.

The above is the detailed content of Why do so many people say php is bad?. 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

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),