Live data from Hacker News

We Don't Hate PHP

hologram.io

11–20 of 85 posts

Re: We Don't Hate PHP

#11
Laravel is the only reason I'm using PHP but it's a good one. Hands down the best framework I've ever used in any language.

Re: We Don't Hate PHP

#12

People who hate PHP-- or even worse, hate other people for writing PHP-- generally don't have anything of value to add to the criticisms of PHP. They just dismiss the language entirely, link to 2012-era blog posts about its imperfections, and never bother to see if anything was fixed in PHP 7 (or, as of the end of this year, PHP 8). This kind of toxic mentality doesn't produce better code, and it sure doesn't produce…

I've no doubt that there are people taking programming opinions way to far and it sucks that PHP devs have to deal with that.

OTOH, there are now mainstream languages with null in the type system, union types, pattern matching, etc... it looks (from the outside) like PHP caught up to where the industry was 10 years ago. If I'm uninformed I'd love to see a comparison to Typescript, Kotlin, Swift, or Scala3.

Re: We Don't Hate PHP

#13

Sorry guys,PHP is the outdated! (From someone who start PHP in 2000 with PHP 2.0 and is still reading lastest Laravel code source). To young people: choose your language wisely, you don't need to know PHP to be successful in Web dev

The top open-source ecommerce platforms (magento, woocommerce, etc) and content management systems (wordpress) are all in PHP, and yes they were written before 2000. You don't need to know PHP to be a successful web dev if you are working at a silicon valley tech / social media company, but e-com and content management are still what most companies are trying to do on the internet, and if you are interested in a tech career outside of silicon valley, being handy with PHP is great.

Re: We Don't Hate PHP

#14

I'm rewriting a personal project from Go into PHP. Some folks might call that backward. I call it solving a problem with the right tool.

Go may not be the best language for your project, but what makes PHP better than the entire set of languages that aren't Go?

Re: We Don't Hate PHP

#15
One advantage of PHP over Node or Java is that it is stateless, so no worrying about memory leaks. And most disadvantages of this disappear when scaling out.

Re: We Don't Hate PHP

#16
> PHP isn't the outdated, clunky language you may think it is.

Proceeds to give a long list of outdated and clunky examples that look like a joke next to any modern framework.

Re: We Don't Hate PHP

#17
post #13

Sorry guys,PHP is the outdated! (From someone who start PHP in 2000 with PHP 2.0 and is still reading lastest Laravel code source). To young people: choose your language wisely, you don't need to know PHP to be successful in Web dev

The top open-source ecommerce platforms (magento, woocommerce, etc) and content management systems (wordpress) are all in PHP, and yes they were written before 2000. You don't need to know PHP to be a successful web dev if you are working at a silicon valley tech / social media company, but e-com and content management are still what most companies are trying to do on the internet, and if you are interested in a tech…

I am just hoping for change....

Re: We Don't Hate PHP

#18

I'm rewriting a personal project from Go into PHP. Some folks might call that backward. I call it solving a problem with the right tool.

Go may not be the best language for your project, but what makes PHP better than the entire set of languages that aren't Go?

The two best reasons are these:

1. The Laravel ecosystem.

2. I have over ten years of PHP experience.

Re: We Don't Hate PHP

#19
post #11

Laravel is the only reason I'm using PHP but it's a good one. Hands down the best framework I've ever used in any language.

What makes Laravel so good and why can't we clone to a framework in say Python?
Post reply on HN