> I think PHP gets a bad rep because there is a lot of bad code out there and people blame the language for the bad code
I think in 5-10 years, in a post "everyone should learn to code" world, people will say some of the same things about Node.js or Rails that have been said about PHP for the last decade.
Beginners are going to make mistakes, and PHP was appealing to novice programmers (for a lot of the reasons listed in the article).
>people will say some of the same things about Node.js or Rails that have been said about PHP for the last decade.
Really? Please tell me which of these things: http://webonastick.com/php.html applies to ruby. People have been complaining about javascript being shitty for just as long as javascript has existed.
I don't know enough about Ruby to make any specific criticisms of the language. I just know that Ruby/Rails is being recommend to beginners (through Code Academy). I guess I could have said Python instead, but I don't think Python's web frameworks (Django, Flask, etc) have the market share that Rails does.
I never said people would criticize Ruby because of the language itself. I said that it could POSSIBLY (note that this is pure speculation) get the same stigma as PHP because it draws in a lot of beginners.
And my point was that PHP does not get stigma because it attracts beginners. It gets valid criticism because it is horribly broken. That's why I showed you one of the many sites making those criticisms.
I think in 5-10 years, in a post "everyone should learn to code" world, people will say some of the same things about Node.js or Rails that have been said about PHP for the last decade.
Beginners are going to make mistakes, and PHP was appealing to novice programmers (for a lot of the reasons listed in the article).