That was part of Slack's reason for choosing PHP for their backend. Use a fancy language like Java or Node if you want to do "modern" development. PHP is for getting shit done.
That's a silly blogpost, to be honest. Any language provides what he descirbes under "State" if you run a script through some sort of CGI interface (I'm not very well informed on all the variations like FastCGI or httpd mod_<lang> stuff), which is roughly what PHP is doing too. Many languages (among which PHP too) have some web frameworks written in them which do complicate the applications, but for good: it's easier to write secure applications (at least against the most common attacks out there) with them. And then if you're gonna use PHP with some framework, then why bother the stupid language and not use a more proper one with a nice framework/library?
I think it is just the immediate mode, do a thing in a familiar environment and start making a web app. No dealing with tooling. No `pip install flask`. Nothing. Just write PHP and you have a web app. I was probably memeing a bit much there, but I think there were several solid points in the article. I would not reduce PHP to "run a script through some sort of CGI interface". I don't use PHP any more. Only Python so I pretty much agree on using a nice framework/library, but I still see this kind of casual dismissal of PHP. I think it has progressed enough to not be a toy language. It is no worse than JavaScript in terms of idiosyncrasies. It (PHP) has plenty of decent features these days and runs fast thanks to things like HHVM.
If you want to stop my productivity cold, use PHP. If you want me to just "get shit done", give me Python. Does this, by itself, make Python superior to PHP? No. It's what I'm used to using.
IOW, they are mistaking familiarity with tooling with the superiority of tooling.
Heh. Maybe I was just memeing a bit myself. I pretty much only use Python and Flask/Pyramid/Django for building web apps these days and can't imagine using anything else honestly.
Not your post, but I saw someone else calling the blog post out as silly. I used to write a lot of PHP for customers when I freelanced, and I use Python a lot now. PHP is very productive for many of the reasons stated and when you are doing very CRUDy apps PHP frameworks seem quite legit now at doing things like MVC.
I dont agree with the evangalism of tech companies like this. PHP has pitfalls like everything does and you need to include the context properly. What works for some does not work for many others due to differing constraints.