If you showed me things like this in Ruby or Java I would go just as crazy. Yes, PHP has its issues (so do all languages). But, if you are a good developer, you can write good code. Many people writing PHP apps aren't good developers.
PHP Sucks, But It Doesn't Matter
11–20 of 112 posts
Re: PHP Sucks, But It Doesn't Matter
#12Earlier quoted context omitted.
This is the wrong way to think about it. Just because people can hop on one leg across the finish line doesn't mean that's a smart way to run a race. Ask yourself this: would the Instagram team have been as successful had they chosen PHP? I think not. Javascript is different because we're stuck with it for historical reasons but there are so many better choices on the back end that there is absolutely no excuse to st…
> Instagram team have been as successful had they chosen > PHP? I think not. Can you elaborate, why you think so? PHP worked OK for Facebook and Wikipedia.
Facebook can afford to throw money at the problem and nobody's really trying to compete with Wikipedia so they can get away with it.
Re: PHP Sucks, But It Doesn't Matter
#13Note that this is a response to: EDIT: refer https://twitter.com/#!/codinghorror/status/18957165652253491... - Jeff's 4 year old response is still valid. http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-de... Jeff gets it right - the language is poorly designed, but it hasn't stopped PHP powering many of the biggest most important sites on the internet today. Banging on about the language's flaws [again] is…
This is the wrong way to think about it. Just because people can hop on one leg across the finish line doesn't mean that's a smart way to run a race. Ask yourself this: would the Instagram team have been as successful had they chosen PHP? I think not. Javascript is different because we're stuck with it for historical reasons but there are so many better choices on the back end that there is absolutely no excuse to st…
PHP works. A priori arguments from faults in the language don't explain its success. Replaying that old record doesn't add anything to What We Already Know.
Also: I didn't say that Javascript is different - I'm talking about the curmudgeons in comp.lang.js who argue that the practical benefits of using a JS library are outweighed by their flaws. This is clearly dis-proven by their popularity and demonstrable economic benefit. As for PHP, this remains true.
Re: PHP Sucks, But It Doesn't Matter
#14If you showed me things like this in Ruby or Java I would go just as crazy. Yes, PHP has its issues (so do all languages). But, if you are a good developer, you can write good code. Many people writing PHP apps aren't good developers.
Re: PHP Sucks, But It Doesn't Matter
#15Earlier quoted context omitted.
This is the wrong way to think about it. Just because people can hop on one leg across the finish line doesn't mean that's a smart way to run a race. Ask yourself this: would the Instagram team have been as successful had they chosen PHP? I think not. Javascript is different because we're stuck with it for historical reasons but there are so many better choices on the back end that there is absolutely no excuse to st…
What in the world does language in which the site was made in has to do with success? They were never acquired for technology - in fact, go read about their setup on HA, it's very standard stuff. If you build a product that gets traction and solid user base with some viral aspect in step 2, you will sell - even if your app/site were made in QBasic.
If you're selling your services as a professional to clients you owe them the best work you can do. There are legitimate reasons to prefer Python or Ruby or Scala or whatever but if you're just too damn lazy to stop using PHP then you're essentially guilty of professional malpractice.
Re: PHP Sucks, But It Doesn't Matter
#16>Why fight it? I say learn to embrace it.
I'd say life is too short to write in terrible languages. Yes, PHP was once the language of choice and now that it glorious days are beginning to set, I don't think a little PHP bashing is too inappropriate.
Speaking of PHP popularity, are there any notable startups that launched recently (<1 year) that used PHP? Given the popularity of Rails, Django, Node etc. it feels completely dead. On that side note, let me get back to my Java Server Pages assignment in college (I'm not even kidding).
Re: PHP Sucks, But It Doesn't Matter
#17Note that this is a response to: EDIT: refer https://twitter.com/#!/codinghorror/status/18957165652253491... - Jeff's 4 year old response is still valid. http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-de... Jeff gets it right - the language is poorly designed, but it hasn't stopped PHP powering many of the biggest most important sites on the internet today. Banging on about the language's flaws [again] is…
This is the wrong way to think about it. Just because people can hop on one leg across the finish line doesn't mean that's a smart way to run a race. Ask yourself this: would the Instagram team have been as successful had they chosen PHP? I think not. Javascript is different because we're stuck with it for historical reasons but there are so many better choices on the back end that there is absolutely no excuse to st…
This is absolutely true, assuming you're working on a blue-sky project or some niche purpose-built app. For the rest of the web, other available languages are (currently) missing one or more of the following:
- A wide selection of CMS's to choose from
- A wide selection of CRM's to choose from
- A wide selection of development frameworks to choose from
- commodity hosting environments ready to roll with little or no server configuration required
Declaring the choice of PHP over some other back-end language negligent in all cases is misguided.
Re: PHP Sucks, But It Doesn't Matter
#18Earlier quoted context omitted.
> Instagram team have been as successful had they chosen > PHP? I think not. Can you elaborate, why you think so? PHP worked OK for Facebook and Wikipedia.
The time you don't waste fighting with the language and coding around its deficiencies is time you can spend improving existing features and adding new ones. If you're trying to run a lean startup with only three backend people like Instagram these effects are very important. Those three engineers could have coded something similar in PHP but I'll guarantee you it wouldn't have been as good. Facebook can afford to th…
Facebook started with PHP they weren't always the massive company they are today and managed to displace other entrenched social networks.
Re: PHP Sucks, But It Doesn't Matter
#19Earlier quoted context omitted.
> Instagram team have been as successful had they chosen > PHP? I think not. Can you elaborate, why you think so? PHP worked OK for Facebook and Wikipedia.
The time you don't waste fighting with the language and coding around its deficiencies is time you can spend improving existing features and adding new ones. If you're trying to run a lean startup with only three backend people like Instagram these effects are very important. Those three engineers could have coded something similar in PHP but I'll guarantee you it wouldn't have been as good. Facebook can afford to th…
Re: PHP Sucks, But It Doesn't Matter
#20Earlier quoted context omitted.
What in the world does language in which the site was made in has to do with success? They were never acquired for technology - in fact, go read about their setup on HA, it's very standard stuff. If you build a product that gets traction and solid user base with some viral aspect in step 2, you will sell - even if your app/site were made in QBasic.
This kind of careless, selfish attitude really pisses me off. If I walked into a doctor's office for an operation, saw a tray full of old rusty instruments, was told by the doctor that they were "good enough" and that I should just worry about the result then I would not only walk out of that office but also file a complaint with the hospital. If you're selling your services as a professional to clients you owe them…
Good luck with your endeavors.