News for hackers. Stuff that matters.

deragon

Re:The Future of PHP on Tuesday October 15, 2019 @04:38AM (#21256614)
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. Python's OO system is much more in-tune with the dynamic aspect of the language.

Re:The Future of PHP on Tuesday October 15, 2019 @04:35AM (#21256595)
I'm not fighting, I just gave a single data point that invalidated (logically, not actually) one part of his argument (the one I quoted) :) And then a bit of commentary.
Re:The Future of PHP on Tuesday October 15, 2019 @04:27AM (#21256554)
>With 7.3 it seems as though PHP has finally got to a point where it knows who it is and where it's going

I've been reading a similar sentence for each version since 5.6. Is 2020 also gonna be the year of the Linux desktop?

Re:The Future of PHP on Tuesday October 15, 2019 @04:24AM (#21256537)
>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 resurge the dislike, so there seems to be some amount of lingering trauma. And of course there's the worry that the more popular PHP is, the more probable it is that I will have to face it again some day.

Re:The Future of PHP on Tuesday October 15, 2019 @04:22AM (#21256528)
Like what features?