[dead]
Re:How to profile your PHP applications with Xdebug
by ehnto on Saturday May 07, 2022 @02:43PM
(#31297311)
PHP has changed a lot since 2012 when that article was written, both as a language and as a community. But I would say even back when this person wrote that article, they were just bummed that it wasn't the language they actually wanted to use. PHP is a perfectly capable language, you can get stuff done in it, not every piece of code needs to be an homage to computer science.
Re:How to profile your PHP applications with Xdebug
by lbj on Saturday May 07, 2022 @02:55PM
(#31297418)
Not much have changed in PHP since 2012, relating to his exact criticisms. I've yet to meet a good developer who likes the language, but I've met many who like it.
Re:How to profile your PHP applications with Xdebug
by ehnto on Saturday May 07, 2022 @03:13PM
(#31297593)
Cute quip but you've not made your point. The PHP core team have added numerous large core language improvements to continue to enable very modern software development, many do in fact touch on points in the article. Perhaps the authors pet-peeves are just not that important to the core team and to the people are using the language for real work.
Re:How to profile your PHP applications with Xdebug
by trollied on Saturday May 07, 2022 @03:03PM
(#31297493)
Can you suggest another language that effectively allows inline templating like PHP does, and has a huge set of libraries available?
PHP runs more of the "web" than you probably realise - some of the highest trafficked websites in the world, in fact. It's fine done properly. The bad press from 20 years ago is pretty much unwarranted these days. Also, if wordpress had been written in RoR or Perl/something else, plenty of the PHP bad press would have been avoided.
Re:How to profile your PHP applications with Xdebug
by lbj on Saturday May 07, 2022 @03:25PM
(#31297707)
There are too many to mention, even Clojure supports inline templating, but it's a horrible design pattern. Have a look at Enlive instead if you want something close but solid.
Re:How to profile your PHP applications with Xdebug
by ezequiel-garzon on Saturday May 07, 2022 @04:11PM
(#31298108)
Could you provide a link to Enlive? I can’t find anything relevant. Thanks!
Re:How to profile your PHP applications with Xdebug
by datalopers on Saturday May 07, 2022 @05:08PM
(#31298613)
> I've yet to meet a good developer who likes the language
I've yet to meet a Clojure developer capable of actually solving business problems. All they do is pontificate about how perfect FP is and how terrible every other language is, despite accomplishing nothing whatsoever themselves.