Home >Backend Development >PHP Tutorial >Life of a PHP Programmer_PHP Tutorial
People are actually very stingy about PHP.
Recently I read a great article - "How False Stereotypes Turn Into Technical “Truths"":
Our bias against programming languages not only affects programmers’s momentum during the debate, but also has a significant impact on the recruitment and salary of this programming language.
This suddenly made me think of everyone’s views on the PHP community.
Today I heard Jenn Schiffer’s wonderful comments about how people judge on a program on the JavaScript Jabber website. I felt a lot and couldn’t help but want to share it with you.
Learn how to program
Although JavaScript has quickly taken over PHP's position, there are still many reasons that attract new developers to the PHP field:
If you want to build a website or app on a shared host.
If you want to learn the LAMP architecture.
All entry-level recruitment positions are for PHP developers.
Everyone hates PHP
Here are some examples of the negative vibe surrounding the PHP programming community:
PHP Sadness: This entire page is about how "sad" it is to use PHP - pathetic.
PHP: a fractal of bad design: an article complaining about how bad PHP is.
Why does PHP suck? Another article similar to the above.
There are too many to mention. If I sum it up in one sentence posted on "Hacker News" and Reddit, it would be:
Learn PHP today and be eliminated tomorrow.
After seeing this, are you beginning to question your choice of a bad programming language?
Did you know - everything is based on PHP
Don’t doubt your choice. Although it seems like everyone loves Clojure, Haskell, and JavaScript—no one loves PHP. Don’t think you landed your first job just by luck?
After seeing this, do you have a desire to search online for which projects are based on PHP? Then I tell you:
WordPress
Yahoo
Wikipedia
4chan
Are you shocked? Many world-famous large websites are written in PHP. However, if we conclude that PHP is only suitable for creating web applications, then please allow me to speak out for PHP...
Are you still stuck in the mindset of 2004?
I don’t know if you have noticed, but many criticisms of PHP are directed at the version in early 2000.
Now PHP also has classes, can do OOP, and has great frameworks like Laravel and Symfony.
PHP’s package manager lets you navigate a vast collection of archived open source software packages.
PHP also has a great testing framework. Such as PHPUnit unit testing framework, as well as Behat and Codeception behavioral testing framework.
Of course, I do not deny that some of the complaints mentioned above are also reasonable. Because every programming language is different, maybe some languages do cause fewer problems than PHP, but considering PHP's age, flexibility, and what it was designed for, then you have to agree - PHP's accommodation Sex is really good.
Impact on developers
As a PHP developer, this situation is not taken seriously except in some rigorous development projects) - it is really frustrating to say it. This also affects the status of PHP developers in the community.
Nowadays, PHP developers are mostly active in closed micro-communities, because they always feel less welcome in the large software engineering community. But don't worry, they also have their own meetups, their own user groups, and their own conferences from time to time.
Hopeless ending
To be honest, although I firmly believe that PHP is a very good programming language, I have wanted to give up more than once. So, I understand very well what many people think.
However, if you reject PHP just because others say what they say - then there will be fewer and fewer PHP developers, and the PHP community will become smaller and smaller - until there is no way out for PHP.
Translation link: http://www.codeceo.com/article/the-life-of-a-php-developer.html
Original English text: The Life of a PHP Developer