Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:107097 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 60633 invoked from network); 15 Sep 2019 07:59:35 -0000 Received: from unknown (HELO php-smtp3.php.net) (208.43.231.12) by pb1.pair.com with SMTP; 15 Sep 2019 07:59:35 -0000 Received: from php-smtp3.php.net (localhost [127.0.0.1]) by php-smtp3.php.net (Postfix) with ESMTP id 3152E2CFA0E for ; Sat, 14 Sep 2019 22:36:08 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp3.php.net X-Spam-Level: ** X-Spam-Status: No, score=3.0 required=5.0 tests=BAYES_00, CK_HELO_DYNAMIC_SPLIT_IP,HELO_DYNAMIC_SPLIT_IP,RDNS_DYNAMIC, SPF_HELO_NONE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS16276 149.56.0.0/16 X-Spam-Virus: No Received: from 28.ip-149-56-142.net (28.ip-149-56-142.net [149.56.142.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp3.php.net (Postfix) with ESMTPS for ; Sat, 14 Sep 2019 22:36:07 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: thruska@cubiclesoft.com) with ESMTPSA id B41F43E9AF To: Mike Schinkel , Olumide Samson Cc: PHP internals References: Message-ID: <1fb054cd-b21d-f50a-6498-bb516db9a5ba@cubiclesoft.com> Date: Sat, 14 Sep 2019 22:36:05 -0700 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Envelope-From: Subject: Re: [PHP-DEV] PHP's declining(?) popularity From: thruska@cubiclesoft.com (Thomas Hruska) On 9/14/2019 8:32 PM, Mike Schinkel wrote: >> On Sep 14, 2019, at 5:18 PM, Olumide Samson wrote: >> >> https://jaxenter.com/php-tiobe-sept-2019-162096.html >> I think this is one of those things we get from voting no... >> >> I might be wrong anyways :-? > > If those specific rankings are legitimately a cause for concern then it would make sense to do some objective analysis to determine why the languages that are growing marketshare are growing. > > From the list it seems Python stands out as having the most growth as a percentage. > > Googling for "why has python become so popular" I get these articles. > > I have copied their top level points but also included the text for the one point they all seem to have in common, that Python is simple, easy to use and easy to learn for new users (emphasis mine in all cases): Want an easy, one-line improvement that costs the community nothing? Python is primarily a CLI tool. (Yes, it has GUI and, more recently, web bindings, but the vast majority of Python code I run into is CLI-oriented.) Why? Because those people who use Python don't realize that PHP is also a CLI tool and an excellent one at that. Here's the website description for PHP: "PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world." There's nothing in those two sentences that readily indicates anything other than "tool for website development." So people are going to look elsewhere for a language that does CLI and therefore that's what they do. I tried to get the following change (or something like it) added years ago and it was initially approved but was later ignored or forgotten: "PHP is a popular general-purpose scripting language that is especially suited to web development and command-line scripting. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world." That's just one minor little text change on the homepage to make people aware that PHP is more than just a web development scripting language tool. I write all of my cron jobs in PHP. I write web scrapers in PHP. I write *servers* in PHP that run as system services as root (uh...). Pretty much everything I do is in PHP...but very little of it being actual web development. Whenever I bring those things up to people, I get funny looks that say, "PHP does CLI? Huh. Never knew that." -- Thomas Hruska CubicleSoft President I've got great, time saving software that you will find useful. http://cubiclesoft.com/ And once you find my software useful: http://cubiclesoft.com/donate/