Live data from Hacker News

PHP Popularity: Is it decreasing and what to do about it?

otsch.codes

161–166 of 166 posts

Re: PHP Popularity: Is it decreasing and what to do about it?

#161
post #139

I went from a WP/Laravel dev to .NET Framework and now .NET 5+. For me PHP has always suffered from two primary camps: ancient codebases that people don't dare touch, and poor tooling. The former came mostly from the PHP camp. The lack of OOP where it was pretty desperately needed was unproductive at best, and at worst yielded a codebase that was so unmaintainable we had to double any time estimates for backend work.…

I've been working with PHP for years, and to this day, I struggle to make xdebug work. I don't think it's a genuinely good debugger, which is something that PHP sorely lacks and is a negative aspect of the language.

I thought it was only me! Xdebug is sheet. I broke my keyboard a few weeks ago out of pure frustration.

Re: PHP Popularity: Is it decreasing and what to do about it?

#162

Having converted a couple of PHP projects to modern languages and maintained way more than i care to admit: Its not going anywhere. Or at least in europe its not. Symfony et al have matured enough so they are usuable for allmost everything web related and if you dont plan to be the next google homepage, it will carry you VERY far. Is it pretty? No. Is it efficient? No. But you will be able to find 10 coders for the p…

There is no structure, OO was an after thought, meta-programming an after thought., unit testing, testing utilities and frameworks an afterthought, their best Web-framework Laravel is a clone of Rails, No original good ideas in the PHP Community and thats the problem. The reason is PHP is a poor clone of Perl.

Are you serious? Jsx was first implemented in php by Facebook. One of the most popular features of modern JavaScript was original designed (and implemented) in php.

Re: PHP Popularity: Is it decreasing and what to do about it?

#163

Earlier quoted context omitted.

There is no structure, OO was an after thought, meta-programming an after thought., unit testing, testing utilities and frameworks an afterthought, their best Web-framework Laravel is a clone of Rails, No original good ideas in the PHP Community and thats the problem. The reason is PHP is a poor clone of Perl.

I was with you until the end. Originally doesn’t mean shit. Who cares if Laravel is a Rails clone? For the record, I have no idea if it is, let alone if it is beyond the degree that plenty of other things are “Rails clones”. And this is ignoring the fact that Rails had been inspired plenty by other projects throughout its lifetime, as it should. I’m interested in using the right tool for the job, not getting caught u…

It is a clone of RoR. Pretty much all open source projects take inspiration from other projects. Ironically, there’s not a single good clone of Laravel (or RoR) in node. Wonder why... (sometimes the language and it’s features do matter apparently (and yes I’m being sarcastic))

Re: PHP Popularity: Is it decreasing and what to do about it?

#165
post #133

I’m a long-time JavaScripter, and after years of working with Java backends and also some time with NodeJS/Express I’ve been working with a PHP backend at my current gig. A few observations: * PHP documentation sucks . It’s demonstrably incomplete in important cases, and I guess to make up for it they allow anyone with a browser to add comments and examples, many which are distracting and very poor quality. Furthermo…

Actually I think php docs are one of the best in class, the api at least. Try python, very little (and cluttered) official docs.

Re: PHP Popularity: Is it decreasing and what to do about it?

#166
post #139

I went from a WP/Laravel dev to .NET Framework and now .NET 5+. For me PHP has always suffered from two primary camps: ancient codebases that people don't dare touch, and poor tooling. The former came mostly from the PHP camp. The lack of OOP where it was pretty desperately needed was unproductive at best, and at worst yielded a codebase that was so unmaintainable we had to double any time estimates for backend work.…

I've been working with PHP for years, and to this day, I struggle to make xdebug work. I don't think it's a genuinely good debugger, which is something that PHP sorely lacks and is a negative aspect of the language.

[deleted]
Post reply on HN