The Future of PHP
51–60 of 66 posts
Re: The Future of PHP
#52If effing C and COBOL are still around and Javascript somehow turned popular as a general purpose application language then PHP isn't going anywhere.
JS is almost general purpose these day. Just a bit more push to optimizations on JS engines.
Re: The Future of PHP
#53This whole article reads like a search engine optimisation piece.
Re: The Future of PHP
#54Earlier quoted context omitted.
>The only people who think PHP is dying is those who don’t use it. That is absolutely not true. I didn't care about PHP at all when I didn't use it. Then I got a job where I had to use it (and the management didn't want to hear about changing it), and I started slowly disliking it. Then I got out of that job and again mostly forgot about it and curretly don't really care what happens to it. Weird defences like yours…
So, given you "don't care what happens to PHP", I assume you don't give much heed to whether it's winning or dying. That's basically what @deanclatworthy is saying, so there is nothing to fight about. Cheers!
I mean, I didn't coded much Ruby over the last months in professional projects, but I am still interested with its evolution because it was such a delight to use it with Rails.
Regarding PHP, well, I did some in the past, and my next professional project include to deal with a PHP code base. In the meantime, I didn't care to use it or look at how it was evolving, which is "as exciting as your toothbrush" innovations.
Re: The Future of PHP
#55As far as prominent products, besides WordPress, Facebook, and Wikipedia, Slack and Mailchimp are (were?) also PHP. (I googled and apparently a prominent '-hub' site uses it too.) The PHP hate never made sense to me in the context of the rise of Node.js: * In PHP I've never accidentally combined 2 + 0.3 into 20.3 * I dislike the cowboy-ish over-use of ternary operators and short-circuiting by JS devs (random example…
Re: The Future of PHP
#56Earlier quoted context omitted.
> * In PHP I've never accidentally combined 2 + 0.3 into 20.3 But PHP thankfully combines `md5("PHP") + 1` into 3. Sounds legit. I think Slack's own anecdote [1] is a better characterization of PHP nowadays. Hint: they don't disagree that PHP was (and to the lesser extent, still is) a terrible language. [1] https://slack.engineering/taking-php-seriously-cf7a60065329
Could someone please explain both the 2 + 0.3 and md5("PHP") + 1 thing?
It also leads to stupid notions of thruthiness (google Gary Bernhard's WAT talk) and bad junior dev behavior. I've seen a popularish PHP framework document the return value of a function al boolean, but the actual return value was the string "0". It wasn't even a by prduct of the implementation. They just explicitly used return "0" for no good reason.
Re: The Future of PHP
#57Earlier quoted context omitted.
types? interfaces?
Types, sure. PHP 7 does those better than python, mainly due to the fact that the main implementation actually checks the types. Python seems to rely on 3rd party tools for that for some reason. Dunno if they're gonna change that or if they designed it like that. Interfaces, hmm. PHP took its whole OO almost directly from Java, which is an odd thing to do given how different the typing disciplines of Java and PHP are…
Re: The Future of PHP
#58Re: The Future of PHP
#59Curious on how much of the 34% actually uses PHP >= 7. As long as there's legacy, PHP jobs are not going to run out for sure, that's a given. I wouldn't exactly mind carrying a project in PHP >= 7, but I wouldn't wish to get a job in PHP < 7 territory personally.
Re: The Future of PHP
#60Curious on how much of the 34% actually uses PHP >= 7. As long as there's legacy, PHP jobs are not going to run out for sure, that's a given. I wouldn't exactly mind carrying a project in PHP >= 7, but I wouldn't wish to get a job in PHP < 7 territory personally.