Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103815 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 35967 invoked from network); 24 Jan 2019 01:59:55 -0000 Received: from unknown (HELO smtp99.ord1d.emailsrvr.com) (184.106.54.99) by pb1.pair.com with SMTP; 24 Jan 2019 01:59:55 -0000 Received: from smtp5.relay.ord1d.emailsrvr.com (localhost [127.0.0.1]) by smtp5.relay.ord1d.emailsrvr.com (SMTP Server) with ESMTP id 7828DA02D3; Wed, 23 Jan 2019 17:37:54 -0500 (EST) X-Auth-ID: fsb@thefsb.org Received: by smtp5.relay.ord1d.emailsrvr.com (Authenticated sender: fsb-AT-thefsb.org) with ESMTPSA id 4331CA0300; Wed, 23 Jan 2019 17:37:54 -0500 (EST) X-Sender-Id: fsb@thefsb.org Received: from [10.0.1.2] (c-76-119-4-100.hsd1.ma.comcast.net [76.119.4.100]) (using TLSv1.2 with cipher AES256-GCM-SHA384) by 0.0.0.0:465 (trex/5.7.12); Wed, 23 Jan 2019 17:37:54 -0500 To: Girgias Cc: internals@lists.php.net Date: Wed, 23 Jan 2019 17:37:53 -0500 X-Mailer: MailMate (1.12.4r5594) Message-ID: <7AB90586-B046-455D-9817-52653112736D@thefsb.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_E566EFAA-AF90-4D08-8E22-85325AB71EFE_=" Subject: Re: [PHP-DEV] Deprecation ideas for PHP 8 From: fsb@thefsb.org ("Tom Worster") --=_MailMate_E566EFAA-AF90-4D08-8E22-85325AB71EFE_= Content-Type: text/plain; format=flowed; markup=markdown Hi George, Iiuc, the problem you're trying to solve is that PHP offers too many ways to do the same thing and if there were fewer then PHP code would be easier to write, read and maintain. Differences in code that make no difference to the compiler are differences in style. The conventional solution is to adopt a style spec and use a linter. I've experienced this in Ruby, JS and PHP and it's effective. This conventional solution causes a lot less breakage than attempting to mitigate the problem by changing the language. It's annoying enough to have to deal with the promulgation of a new style spec and corresponding linter in your organization. Imagine if such a change were to be promulgated by The Rulers of PHP. Tom --=_MailMate_E566EFAA-AF90-4D08-8E22-85325AB71EFE_=--