News for hackers. Stuff that matters.
Re:We Don't Hate PHP by ransom1538 on Friday July 17, 2020 @01:30PM (#23873095)
Which modern framework? The most common alternative: python. A 30 year old language with two completely different syntactical versions 2 & 3. Packed with all the great shit fest, eg: urllib, urllib2, urllib3.
Re:We Don't Hate PHP by tdeck on Friday July 17, 2020 @01:32PM (#23873145)
Python isn't a framework, but in contrast to Pythom, PHP made some bad decisions that are hard to roll back, the biggest being cramming hundreds of inconsistently named standard library functions into the default namespace. PHP can be very productive but I think it's fair to day it was designed a lot less intentionally than many languages.
Re:We Don't Hate PHP by larrik on Friday July 17, 2020 @02:53PM (#23874051)
PHP is very guilty of cramming hundreds of inconsistently named standard library functions into the default namespace, but I wasn't aware of Python doing this?
Re:We Don't Hate PHP by tdeck on Friday July 17, 2020 @03:13PM (#23874277)
Wrote the opposite of what I meant. Thanks for pointing it out while I can still edit :)
Re:We Don't Hate PHP by larrik on Friday July 17, 2020 @02:51PM (#23874029)
Sure, Django/Python is a plenty good example. Python manages to be older than most of its competitors while still feeling like its cutting edge. Django is hard to beat in all but speed. What about newer stuff like Elixir/Phoenix, or even Node/Express or Ruby/Rails.

That said, I'm not even saying PHP is bad, but this article doesn't convince me why I'd pick PHP over literally anything else.

Re:We Don't Hate PHP by jennasys on Friday July 17, 2020 @02:38PM (#23873899)
Saying that Python 2 & 3 use a completely different syntax is a pretty gross overstatement.