Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71691 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34337 invoked from network); 28 Jan 2014 18:31:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2014 18:31:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.169 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.217.169 mail-lb0-f169.google.com Received: from [209.85.217.169] ([209.85.217.169:42615] helo=mail-lb0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1F/76-01140-187F7E25 for ; Tue, 28 Jan 2014 13:31:29 -0500 Received: by mail-lb0-f169.google.com with SMTP id q8so688131lbi.14 for ; Tue, 28 Jan 2014 10:31:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EA5UeWto0od9u2Z00RJMRO3j+q9HQNbXxfeQuQTfLYk=; b=qniJHG5M1x7cCU2Pm/0MFhZt+ulam/6ggn5INQ0TLQVzpn8fH3BgWauaeHAnSCxtaL JxKSoah50r2Gduaf0OkmeVfm9kCjPkPLV0SlCfinwxc6fRU/EEtWSPt0w1RFx2zvsK4E pUsF4RFQRgdZpIZTdDYY98Dyw2sgp/TS3YjrCOvKAMa4wjBhUwJutKO4a+oHlNMnI+il /8hWx7UZInDy8ik2hTiM6csmS66acFKSEE2lSUZarnmSZgOWX9zWKatjhEQOYvJrpQP5 +XXznBg5Mxjdb9HjXfzpPBowTepamUjatg+0/dyDzwdYX/fwJz9Sa/gFSnvomibOYZsX 8YaQ== MIME-Version: 1.0 X-Received: by 10.152.170.232 with SMTP id ap8mr1901169lac.40.1390933886409; Tue, 28 Jan 2014 10:31:26 -0800 (PST) Received: by 10.112.35.163 with HTTP; Tue, 28 Jan 2014 10:31:26 -0800 (PST) In-Reply-To: <52E7F55F.7090801@ajf.me> References: <52E7D67D.1030308@ajf.me> <52E7F55F.7090801@ajf.me> Date: Tue, 28 Jan 2014 19:31:26 +0100 Message-ID: To: Andrea Faulds Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] some thoughts about php 6 From: pierre.php@gmail.com (Pierre Joye) On Tue, Jan 28, 2014 at 7:22 PM, Andrea Faulds wrote: > > > On 28/01/14 16:13, Pierre Joye wrote: >> >> Anyone not being a developer will never use it. Let alone conservative >> projects, or already released applications. There is no gain. However >> there are tools already to apply whatever CS one wishes to existing >> source code, or to check CS on commit. That's what one can uses case >> sensitive naming without us having to break everything out there. I >> think we can disagree on that and do not discuss that forever, if >> there is a RFC about it, we will vote on it and that's it :) My >> mistake was to send this mail too early, more important points coming >> :) > > > I don't care about coding style. Coding standards are part of the problem, that's not something we can ignore. > I care about sanity here, Why pre commit checks do add sanity checks to existing projects, today. > and I think > case-insensitivity leads to more problems than it solves, especially, as > others have pointed out, when autoloading comes into play. Right, while I did not meet one for years but we may work with different projects or developers. > A case-fixing tool could be run once on existing codebases, break no > backwards compatibility, and make those codebases work on PHP 6. I will 200% surely change my mind the day I see such tool working with all major frameworks and applications out there without a single point of failure. However, I would suggest to waste too much time arguing about case sensitivity, almost all of us agree that it is a good thing to have. Only question is if it is a good idea at all to do it and only the votes will solve this question. Cheers, -- Pierre @pierrejoye | http://www.libgd.org