News for hackers. Stuff that matters.
Re:A look at modern PHP by ptsneves on Tuesday May 05, 2020 @06:23AM (#23078409)
I do not do PHP and only have done a bit a long time ago, but I chuckle at the statement that nobody starts any project in PHP, only to find that a huge amount of new sites are wordpress sites, and they are a gateway to PHP. And do not discard WordPress, because it is amazing in how you can have a productive web site with no programing knowledge. After your site actually generates value then you can hire programmers to create more value. Bam, PHP to the forefront. I do asp.Net core for personal projects these days and I am so jealous of the fusion theme builders for WordPress plus the huge Eco system of plug-ins.

My day job is in embedded and systems engineering, so web is not even my thing, but I find it incredible a workhorse tool like PHP gets so much disdain. Reminds me of the answers Theo de Radt, gave to the enthusiasts: nobody cares about how cool a tool is if nobody is using it. PHP is used by a lot of people, so it is more important than my new favorite darling Nim. Even if Nim sounds awesome its useless and irrelevant from a non enthusiast point of view.

Re:A look at modern PHP by _bxg1 on Tuesday May 05, 2020 @03:53PM (#23084162)
I was paid to build a Wordpress extension once. It was the most miserable programming experience of my life.

Wordpress is no doubt a powerful force on the web. As a no-code website-creation environment, it's fine. Maybe even good. But as a library, it is godawful.

Re:A look at modern PHP by disiplus on Tuesday May 05, 2020 @04:13PM (#23084431)
i haven't done wordpress in 5+ years but oh my god it had everything that's bad about php in it.
Re:A look at modern PHP by _bxg1 on Tuesday May 05, 2020 @04:26PM (#23084599)
I wouldn't be shocked if Wordpress has singlehandedly tarnished the reputation of PHP in general
Re:A look at modern PHP by shampine on Tuesday May 05, 2020 @05:48PM (#23085483)
Writing modern php 7.2+ and creating a WordPress plugin is akin to time traveling. The experience in WordPress is not so great but they have a commitment to backwards compatibility. So I get it. But ya, I agree with this statement.
Re:A look at modern PHP by paulryanrogers on Tuesday May 05, 2020 @12:00PM (#23081464)
This was said of Cobol not too long ago. Today's enthusiasts decide tomorrow's workhorses.