Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70825 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47056 invoked from network); 22 Dec 2013 01:26:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Dec 2013 01:26:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=tessarek@evermeet.cx; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=tessarek@evermeet.cx; sender-id=unknown Received-SPF: error (pb1.pair.com: domain evermeet.cx from 77.244.245.66 cause and error) X-PHP-List-Original-Sender: tessarek@evermeet.cx X-Host-Fingerprint: 77.244.245.66 evermeet.cx Linux 2.6 Received: from [77.244.245.66] ([77.244.245.66:53093] helo=atvie01s.evermeet.cx) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/37-07676-CCF36B25 for ; Sat, 21 Dec 2013 20:26:37 -0500 Received: from [10.0.0.40] (135-23-85-229.cpe.pppoe.ca [135.23.85.229]) (authenticated bits=0) by atvie01s.evermeet.cx (8.14.3/8.14.3) with ESMTP id rBM1QUDD021161 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 22 Dec 2013 02:26:31 +0100 Message-ID: <52B63FC6.80708@evermeet.cx> Date: Sat, 21 Dec 2013 20:26:30 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Ronald Chmara CC: Rowan Collins , internals References: <52B5522A.4040709@lsces.co.uk> <52B61756.9090202@gmail.com> <52B620D7.6090200@evermeet.cx> In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: id=C11F128D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Censorship in php From: tessarek@evermeet.cx (Helmut Tessarek) On 21.12.13 19:58 , Ronald Chmara wrote: > Working code wins, always. Whining developers who do not write code for > their ideas lose. You so prove my point. Just because I write code, does not mean it makes it into the product. > Thousands? No, many, many, millions. If you break PHP, you break Yahoo, > Wikipedia, Wordpress, Facebook.... many millions of sites. Maybe billions > at this point. But changing default behavior does not break things? But this seems to be ok - at least sometimes. So there are acceptable changes that break millions of sites and then there are others. > If you are looking for a language without backwards compatibility, that > runs most of the internet, I suggest you try to write a new language. There are many ways to accomplish this task. One would be to create new functions while the old still exist, use DEPRECATED and WARNING in the log and gradually phase them out. This gives them time to change their code. >> Unless you know _exactly_ _every_ settings and _every_ function, you cannot >> predict what PHP might do. > So, unless you are fluent in a language, you cannot accurately predict what > you are saying? This is your argument against it? I'm saying that PHP's behavior and functions are inconsistent. Some functions have a certain order for their arguments, others have them reversed (I know, this is rather a stupid example). Return values are inconsistent: -1, NULLS, exceptions, ... All of them make sense, but they should be used consistently across the board. But theses are just a few examples > (setting should have been singular, not plural, in your argument, BTW) Thanks, I wrote 'all' first and replaced it with 'exactly every' and forgot to remove the s at the end. What's your excuse for misspelling czech? > Welcome to the internet's dominant programming language. Fork it if you > want. Crashing a third or half of the internet for a pet feature or change > is not an option. I'm not talking about a pet feature, but the consistency of the language. > Complaining is not code. It is not constructive. Condescending language and behavior is not constructive either. > Code always wins. Whining about code, or giving "feedback" on code, doesn't > win. No, it doesn't. Only, iff it makes it into the product. -- regards Helmut K. C. Tessarek lookup http://sks.pkqs.net for KeyID 0xC11F128D /* Thou shalt not follow the NULL pointer for chaos and madness await thee at its end. */