Desc:- If something has become the talk of the town and you start hearing negative comments about it, consider that it has become popular. Criticism is a part of the jopurney towards success.
At its very core, everything that you see and read on the internet, is just modified, altered, mature, immature or conditioned opinion. Any search results you stumble on, expressing viewpoints about a particular topic, is nothing but an opinion. It can either be from an individual, from a group of people, or from an organization. The internet is nothing but a mass room huddled with a jillion voices reverberating endlessly and incessantly.
Learning to bifurcate and filter out among those multitudes of voices can sometimes be difficult. Because you may find tons of differentiating opinions about one single topic. For the sake of this article, let’s take PHP into account.
You will find enormously large amounts of opinions online about PHP stating a plethora of things that it can sometimes cloud your own judgement and implant a thought in your subconscious you didn’t know existed.
So today, we thought, why don’t we curate a few opinions about PHP and put them together under one roof. We have already heard a lot about how good PHP is or how fast PHP is dying, but did we ever take a step back and focus on what developers themselves, who’ve worked closely with programming languages, think about it?
Here are a few hand-picked interesting Quora questions and answers about PHP that will give you a fresh and different perspective about the programming language.
Why do programmers advise new programmers to ignore learning PHP?
Answer by: Brian Knapp, Christian, Software Engineer. I blog at Code Career Genius
People are advised not to learn PHP by fools who don’t like getting paid. And also, the reason to not learn PHP is the same reason people don’t wear bellbottom jeans anymore.
Now, there are some reasonable technical reasons for this. For example, PHP can encourage bad habits, security issues, and can make “beautiful code” seem like an impossible dream.
Fair enough, but that’s not a very good reason to ignore PHP as an opportunity.
The fact is, something like 20–40% of the internet runs on PHP.
There are millions and millions of websites built on WordPress, PHPbb, vBulletin, Magento, Drupal, and other extremely popular software packages.
More importantly, billions of dollars in value are built on top of PHP.
That means many billions of dollars are spent building and maintaining PHP code. Ignoring that opportunity can be extremely shortsighted and stupid.
Now, money isn’t everything and PHP isn’t always the highest paid skillset. But, for beginning programmers or people wanting to pick up freelance work, PHP is a great tool to have in your programmers tool belt.
And so yeah, PHP might not be beautiful or clean or nice like some other languages, but it is an unwise business decision to ignore it completely.
Actually, please do ignore it so that programmers like me can keep the money for ourselves. :-)
Why does PHP have a bad reputation?
Answer by: Dominic Ligot, Chief Technology Officer at CirroLytix
The usual suspects:
2.People who can't get past PHP 3.
3.Ruby and Python fanboys who keep forgetting their semicolons and curly braces.
4.Because powering 79% of the internet means receiving 79% of petty complaints.
5.PHP die-hards who keep proclaiming in your face that Google, Facebook, Wikipedia, and Yahoo use it (even if they probably also use other languages).
6.(Re: #5) PHP haters who know that those websites STILL use PHP anyway.
7.People who can’t get past PHP 4.
8.Bad PHP code ignorant newbies write that still work anyway.
10.People who can’t get past PHP 5.
11.PHP devs you ask don't care about your question.
12.HR recruiters who ignore precious Angular and React creds because they are only looking for Drupal and Laravel.
13.PHP 7 is so solid and killing speed benchmarks that it's already tantamount to an environmental disaster not to upgrade.
14.That you can write PHP and HTML together so easily. Like how dumb is that(?).
15.That guy who keeps looking for PHP 6.
16.The search function on your job site failed and the PHP jobs are clogging your search for PERL gigs.
17.Zealous devs who need to have an opinion.
Why does Python beat PHP in web development?
Answer by: Zee Xiong
Hahahahahahahahahahaha. Let me. Hahahahahahahaha. Catch my. Hahahahaha. Breath. Hahahahahaha.
Now that’s a good laugh. Let’s get on the serious note. Python by far is no where near what PHP can achieve for web development. Python is more powerful for desktop apps. Not websites. Yes, you can use Python to write websites, but it takes way too much effort to launch a Python website up. Python needs to run on something like Flask or Django in order for you to write websites using Python. The amount of time it takes for Python to execute and run through its process (Django, Python code, back to Django), PHP has probably rendered 5,000 pages and is waiting to render 5,000 more pages and Python is still only rendering 1 page.
Python is extremely slow on the web. PHP doesn’t require a framework for it to execute and process a website. That’s the downfall of Python. Python requires a web framework for it to actually operate on the web.
The closest competition for PHP is RoR and ASP.NET. And those are pretty tedious to code in. I’m learning ASP.NET right now and I’m just sitting there thinking to myself “why in the hell do you need all of this stuff? We don’t need half of the crap that this language uses in PHP.” It’s taking us 6 weeks + to make 1 website written in ASP.NET that can connect to a database. It takes me 5 minutes to write an equivalent website in PHP. Not only that, our admin dashboard looks like crap because we’re allowing everyone to be able to access it. If this was PHP, it would be a violation of security protocols. But hey, no one wants to talk bad about other languages. Only if it’s PHP.
In my ASP.NET class, we have to connect the UI to a bunch of different layers and on page startup, it’s extremely slow. Takes about 10 seconds or so to load up just a single page written in ASP.NET on Chrome. Takes a millisecond to load up my personal website written in PHP using MVC.
Some Python users however will say that PHP is crap or whatever they want to regurgitate. It’s just a load of BS. Python is a language that heavily relies on white space. That in itself is crap or “poor design”. People always complain about PHP being “poorly designed”. Ummm the fact that Python’s actual coding structure relies on white spaces in itself is “poor design”.
PHP as a language is mature and hence it has a large community of supporters. The same is the case on the flip side, since PHP has a large community of supporters, it has been matured over time. There are entrepreneurs and businesses still looking to hire php developers for complex and agile web development projects. And it seems, the popularity of PHP is not waning any time soon.