3 ms·
I think the simple problem with PHP is that its dated. Regardless of whether the language has serious flaws or not, the fact is that it takes a lot more effort
by zaptheimpaler 14y ago
I think the simple problem with PHP is that its dated. Regardless of whether the language has serious flaws or not, the fact is that it takes a lot more effort and code to do the same things that new web frameworks let you do with a few lines of code. PHP is a great way to learn the basics because it doesn't have quite as many abstractions but that leads to slower development times, and plain bad code (insecure) if the dev doesn't know what hes doing. By the way, I'm referring to slower development times for decent size projects, not quite "hello world" (Honestly, even "hello world" would just be an HTML page and a route in django or RoR - 2 lines vs 1).
So if I was operating in the capacity of a recruiter for a project/company/startup, I'd definitely pick a skilled RoR dev over a skilled PHP dev, because the frameworks and the language themselves are handicaps for the PHP dev. Even if PHP is faster for a very small project, as soon as you move into a decent sized project, the frameworks start paying handsome returns for using them.
Note: I don't particularly love RoR/Django. Substitute with your favorite framework. It's just to illustrate a point.
- temp1337 14y agoThis happened to be the first comment on the first article I wrote. I think it is a great example of what is wrong with the human race in general. Facebook still uses PHP, and I think there is a distinct possibility that "zaptheimpaler" wishes he were Mark Zuckerberg. Money and ego make people do weird things. The constant background of ego makes Hacker News relatively useless to me recently. Feel free to downvote or ignore this--I think going to church or hugging my dog is a better use of time than checking for replies or posting here (or Wikipedia, or lots of other endeavors we humans do).
- tom_m 14y agoUh, it's actively being worked on and it grows at a very rapid pace. What you read about or use with PHP is dated. Most PHP applications are 5 years behind where PHP is currently. THAT is the real problem. You obviously have not seen any modern PHP code. RoR is dead dude. Have you been hibernating for a few years?
- temp1337 14y agoThis comment just made me want to view Hacker News more often. Maybe. 24 hours in a day--there's lots of things I could be doing.
- fsniper 14y agoYou have it really wrong. PHP also has really neat new features and great frameworks. You can do anything with php that you can do with the other cool techs.