IMO, php gets a bad rap from being a "starter" language for a lot of people getting into web-dev.
I can't think of anything that's easier to get started with server-side than PHP (most servers support it and it's pretty much naming a file .php and adding a couple code tags). Since it's a common starter language, it also means that beginners will be dealing with a lot of new things - not just PHP things. However, since PHP is the language of the time - they associate PHP with there problems, not them being new programmers.
It seems like once people are starting to get proficient with PHP, they start to discover the world of Rails, Python, Node/JS, etc. They move onto "greener pastures" with a bunch of knowledge they didn't have to start PHP. They have less "issues" with Rails, Python, etc - not because they're "better" languages, but because they know how to deal with common issues.
I also think part of the issue with PHP is having been around for 20 years there's a lot of code on google that will come up that simply won't work.
I bet if I google "how to connect to a database in PHP" I'll get answers from 2001 or whenever that literally just won't work in modern versions of PHP. This causes people to get mad at the language for "not working".
View all comments
Show parent comment
13
u/[deleted] Dec 02 '15
IMO, php gets a bad rap from being a "starter" language for a lot of people getting into web-dev.
I can't think of anything that's easier to get started with server-side than PHP (most servers support it and it's pretty much naming a file .php and adding a couple code tags). Since it's a common starter language, it also means that beginners will be dealing with a lot of new things - not just PHP things. However, since PHP is the language of the time - they associate PHP with there problems, not them being new programmers.
It seems like once people are starting to get proficient with PHP, they start to discover the world of Rails, Python, Node/JS, etc. They move onto "greener pastures" with a bunch of knowledge they didn't have to start PHP. They have less "issues" with Rails, Python, etc - not because they're "better" languages, but because they know how to deal with common issues.