Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100662 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7354 invoked from network); 16 Sep 2017 09:36:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Sep 2017 09:36:38 -0000 X-Host-Fingerprint: 62.31.75.76 76.75-31-62.static.virginmediabusiness.co.uk Received: from [62.31.75.76] ([62.31.75.76:10625] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 05/2C-19300-6A0FCB95 for ; Sat, 16 Sep 2017 05:36:38 -0400 Message-ID: <05.2C.19300.6A0FCB95@pb1.pair.com> To: internals@lists.php.net References: <752eaf1d-5603-70f5-8e69-b8243547cad1@gmail.com> <320b3863-e36b-2ed4-543b-fcbd433b1c56@gmx.de> <57.CA.19300.69C9BB95@pb1.pair.com> <5fe274c1-36de-e650-fd2c-bc4f9caf36f3@rhsoft.net> <07.B0.19300.38AEBB95@pb1.pair.com> In-Reply-To: Date: Sat, 16 Sep 2017 10:36:35 +0100 Lines: 1 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 16.4.3564.1216 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3564.1216 X-Posted-By: 62.31.75.76 Subject: Re: [PHP-DEV] Deprecate and remove case-insensitive constants? From: TonyMarston@hotmail.com ("Tony Marston") wrote in message news:bd24d73e-4999-ffd9-ce03-6b76290372b1@rhsoft.net... > > > >Am 15.09.2017 um 16:58 schrieb Tony Marston: >> wrote in message news:5fe274c1-36de-e650-fd2c-bc4f9caf36f3@rhsoft.net... >>> >>> Am 15.09.2017 um 11:25 schrieb Tony Marston: >>>> You are missing a third option - Microsoft languages are >>>> case-preserving. This is where the IDE ensures that every use of a word >>>> is automatically switched to the case used in its original definition. >>>> This makes it impossible to use the same word with a different case. >>> >>> a sane IDE for PHP does exactly the same for many many years if you >>> don't insist to change it manually - when you manage that you functions >>> are written all over your codebase with different uppercase/lowercase >>> the problem is looking at you from a mirror every morning >> >> How many IDEs out there for PHP? What percentage of them support case >> preserving? Zend Studio didn't when I used it. PHPEd doesn't > >i need to see one which don't make autocompletion with preserved case and >if you don't use it because you like typos in general your fault You are avoiding the question. You state that dealing with this situation should be done within the IDE, so my question is how any PHP IDEs actually support this feature? If your answer to this question is another question - how any don't support this feature? - then my answer is "none of them". Unless you can prove otherwise, of course. >again: it's no rocket science to throw at compile time deprecation warnings >years before a final change is planned and so for sloppy legacy code you >hav enot more to do than read your error logs > >after i switched every piece of code i write the last 15 years tpo >strict-types, typhe-hints and return-types everywhere while also write a >complete autotest suite you can't tell me it costs more time to fix such >case warnings by read the log and it would take longer as all your >discussions - so why don't you stop it? Just because you disagree with what I have to say does not mean that you can tell me to stop saying it. If you want me to accept that you can have a different opinion then you should extend the same courtesy to me. -- Tony Marston