Re: Deprecation ideas for PHP 8

From: Date: Wed, 23 Jan 2019 22:37:53 +0000
Subject: Re: Deprecation ideas for PHP 8
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-103815@lists.php.net to get a copy of this message
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

« previous php.internals (#103815) next »