Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65208 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84125 invoked from network); 26 Jan 2013 09:18:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jan 2013 09:18:42 -0000 Authentication-Results: pb1.pair.com header.from=thbley@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=thbley@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.51 as permitted sender) X-PHP-List-Original-Sender: thbley@gmail.com X-Host-Fingerprint: 209.85.220.51 mail-pa0-f51.google.com Received: from [209.85.220.51] ([209.85.220.51:64889] helo=mail-pa0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/C0-12745-B6F93015 for ; Sat, 26 Jan 2013 04:18:40 -0500 Received: by mail-pa0-f51.google.com with SMTP id fb11so691368pad.24 for ; Sat, 26 Jan 2013 01:18:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=sWP0cjt1QIV7cXmmVNYWkTawiyXwMLwgdY0e9nOO/nY=; b=OE9Mv4D0juvAAjrGpuJszxL680eR7C/5F9+y4OBM+MGD4i4a8VJu7KmaHP7v6ngGci tA76glhC4whop4+bFmLKVmwakWWiifOjIU052rWKanYwOrrLPBgURW2MCyqgXW0+I35y lkkuTgxTYjCW3sYyiHTlfdU8LoxNtmw6ZJfrQ9nEcTQ7HTBSGDGiLK/7cHh3Q8s7qEk3 AZQ88CuBpDaSAaWV5L0cfHaNPByRRBtPIfXo+94srUy5QDqaO1qLsMLASNC5BU0Q8YPn TYdGjD66SgZrQAv8/giD5n46l3M+6ukueVDt569At6eaKVRVx6XHbJHjnv/uPTjaqivl ScwQ== MIME-Version: 1.0 X-Received: by 10.68.192.66 with SMTP id he2mr20856992pbc.112.1359191909882; Sat, 26 Jan 2013 01:18:29 -0800 (PST) Sender: thbley@gmail.com Received: by 10.68.233.40 with HTTP; Sat, 26 Jan 2013 01:18:29 -0800 (PST) In-Reply-To: <51039A95.6010307@lerdorf.com> References: <5102D1DB.9060305@sugarcrm.com> <51032B3C.7040608@sugarcrm.com> <51033962.1030805@zerocue.com> <510342CD.6020405@sugarcrm.com> <51039A95.6010307@lerdorf.com> Date: Sat, 26 Jan 2013 10:18:29 +0100 X-Google-Sender-Auth: 5-o3ilcmz0LrxJ7O4fW55VI6Vuk Message-ID: To: "internals@lists.php.net" Cc: Rasmus Lerdorf Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] I think that "Function naming inconsistency" bug deservers more attention From: thbley+php@gmail.com (Thomas Bley) So function aliases, new open tag and deprecation are bad. What about the String class? I think there was some "Let's ... start exploring lighter and more approachable ways to attack Unicode" on internals ... Regards, Thomas On Sat, Jan 26, 2013 at 9:57 AM, Rasmus Lerdorf wrote: > Please stop with these. We can't keep explaining why function aliases, > 20 years is a bad idea. > > There is a reason that REFERER is still around in HTTP. It is obviously > not spelled correctly, but the pain of fixing it would far outweigh the > appeasement of the pedants out there. Does it make it harder to figure > out HTTP-related stuff? Not really, you won't necessarily know this term > even exists until you learn about it. Same goes for PHP functions. If > you understand where they come from you expect them to be named strlen, > strchr, strpos, etc. and if you don't understand their origin then you > simply learn them or let your IDE autocomplete them for you. > > And if you really think this is something a majority of people are > interested in, write up an RFC and put it to a vote. And when that fails > write yourself a userspace "consistency" library that names all the > functions the way you feel would make them consistent and put it out > there. or heck, if you are worried about performance of a userspace > wrapper, write an extension that does it. But please stop posting about > it on internals. There are a lot of real issues we should be spending > cycles on. > > -Rasmus > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >