Why some people hate PHP? | SoloLearn: Learn to code for FREE!

+2

Why some people hate PHP?

php

9/20/2020 7:50:30 AM

Rice Noodle

14 Answers

New Answer

+14

PHP has several problems with language design, core implementations, etc (many of these are legacy-related). It's also easy to get started with, which leads to a community with a large percentage of newbies making silly mistakes.

+2

• https://www.quora.com/Why-is-PHP-hated-by-so-many-developers • https://www.jesuisundev.com/en/why-developers-hate-php/ • https://www.infoworld.com/article/2852329/reasons-for-developers-to-love-hate-php.html

+2

Nowadays PHP is usually included in the basic offer of a provider. It is therefore the cheapest alternative to server-side solutions. Besides, in many projects is sufficient enough. I love it.

+2

It is still widely used on the web.

+2

Why some people like PHP ?

+1

Bagon are programmers still using PHP in 2020?

+1

Rice Noodle of course but there are many alternatives now: django/flask, node.js, ruby on rails, go...

+1

Even, php developer said to me, you keep on working in python or js

+1

Some older versions of PHP also had security issues.

0

Maybe it's hard to learn...

0

Because PHP is a old language

0

This is perhaps the largest criticism of PHP ever. https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/ It should be noted that since this article was written in 2012. The PHP team have made many amendments to make PHP fun to work with. Most people however are still stuck in the past and do not know of the exciting features of PHP 7. PHP 7 is not perfect though. Here are some problems that still persist in PHP 7. 1. Inconsistent naming for global built-in functions. 2. The SPL classes, built-ins etc are not namespaced. 3. Too many similar functions with slight (not-so-obvious) differences. 4. The parser refers to tokens by their internal names which might not even be English. 5. Unicode is unnecessarily difficult to work with even with the multibyte extension. Remember there are two types of languages: a. the ones nobody uses b. the ones everybody complains about.