Home > Backend Development > PHP Tutorial > PHP's ability to solve problems is unquestionable

PHP's ability to solve problems is unquestionable

WBOY
Release: 2016-07-25 09:01:57
Original
926 people have browsed it
PHPThe ability to solve problems is undoubted
"I am a php programmer and often use Python in projects, but I admire PHP and its ability to solve problems Ability. PHP users keep growing because sometimes some poor soul wants to create an online encyclopedia, or a teacher needs an online teaching platform, or someone wants to write a blog. These people don't want to learn programming. Just trying to solve the problem.”
I want to say that this comment really hits the mark! I think this is the main reason for PHP's success.
People learn PHP because they have some problem they need to solve, and this is where PHP shines. You can simply open your static HTML page, add a simple , and then... you're done!
From there, you can write some simple scripts, learn how to process forms, talk to databases, etc. After a while you start using object-oriented programming and maybe some frameworks.
That’s basically how I got into programming.
PHP has a little different approach compared to many other languages. When learning other languages ​​you need to study computer science for 5 years before you enter the real world where you need to solve problems. (You can certainly say that PHP is a language that has given birth to many programmers, while most other languages ​​have made fewer and fewer programmers.)
You may ask about this: So, once you start learning Programming, why not switch to another language? To put it simply: PHP has some problems, but it's not that bad. Of course, people always try to tell you that, but it really isn't like that. The biggest criticism of PHP is that it really doesn't matter, like a needle of inconsistency and a haystack of chaos. At the top of things PHP made a few mistakes. But in reality it really makes no difference. Of course, it would be better if the order was consistent, but my IDE does a really good job of reminding me how to do things correctly.
To summarize:
PHP is a great language to get started with programming!
Once you start learning, PHP is also great for practical programming (you know, the ones that are useful for object-oriented)
PHP is not as bad as some people say. It's a little buggy, as every language is, but in practice PHP rarely has problems.
Also, I've noticed that most PHP detractors act like 10-year-olds when it comes to this language. For example, the following sentence from Jeff's article:
"What is frustrating is not the terrible design of PHP. Can anyone still deny that PHP is the worst-designed mainstream language that has destroyed our programming skills for decades? What is really frustrating What’s frustrating is that nothing has changed so far. “
This is too outrageous. PHP has changed a lot in recent years, but many people seem to only remember its image as an inferior language with poor OOP support in the PHP 4 era. Well, I'm going to break it for you: PHP 4 has been dead for almost ten years, and PHP 5 already has great support for object orientation, just like Java does. PHP 5.3 also adds support for namespace and lambda function combinations. And PHP 5.5 will add a lot of new and eye-catching features. And you're telling me nothing has changed?
Receive LAMP Brothers’ original PHP video tutorial CD/"Explanation of PHP" essential version for free. For details, please contact the official website customer service:
http://www.lampbrother.net



source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template