Re: Deprecate and remove case-insensitive constants?
| From: | Tony Marston | Date: | Tue, 26 Sep 2017 09:00:59 +0000 |
| Subject: | Re: Deprecate and remove case-insensitive constants? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100774@lists.php.net to get a copy of this message | ||
wrote in message news:489a2ea0-7b24-fedd-e496-ee662a6051b5@rhsoft.net...
Am 25.09.2017 um 11:41 schrieb Tony Marston:That is not what I said. Taking the same function name and allowing different versions to exist with different implementations would be a recipe for disaster whereas the situation which you are complaining about is nothing more than mildly annoying - except if you are a nit-picking, anal retentive OCD sufferer in which case it signals the arrival of the four horsemen of the apocalypse. -- Tony MarstonThe fact that some people write "do_something" or "do_Something" or "Do_Something" or even "DO_SOMETHING" and it points to a single function because of case insensitivity does NOT cause a genuine problem - except in the minds of a few nit-picking, anal retentive OCD suffererswow - sue your dealer!I'm sorry, but reading code where the case of a word changes the meaning of that word will make that code LESS readable, not MOREhow comes when the same word is written over the whole codebase *identically* that for it is harder to read?