News for hackers. Stuff that matters.
Re:The Future of PHP by deragon 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 by thinkindie on Tuesday October 15, 2019 @06:36AM (#21257178)
let's say that the only advantage of python over php are ML libraries but porting a library is far different job than creating an ecosystem