Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65207 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83630 invoked from network); 26 Jan 2013 09:18:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jan 2013 09:18:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=theanomaly.is@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=theanomaly.is@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.175 as permitted sender) X-PHP-List-Original-Sender: theanomaly.is@gmail.com X-Host-Fingerprint: 209.85.212.175 mail-wi0-f175.google.com Received: from [209.85.212.175] ([209.85.212.175:58730] helo=mail-wi0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F1/B0-12745-B4F93015 for ; Sat, 26 Jan 2013 04:18:03 -0500 Received: by mail-wi0-f175.google.com with SMTP id hm9so210148wib.8 for ; Sat, 26 Jan 2013 01:18:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=6V90KJRY7GqsKFwE2pjkZvZ1o6QK54OWbmCxPVUbw88=; b=MAyFCaaGxMHq9h27ySYEu+9BzIHDGcfu6zJn56pmtcFAVMFLn9bxrFrG7I1HlylJza Ojl7p1E4MKe5jSh97wMbLXCsuDIGv32ZAarhTElx4p/AYZ1H+hMLsmA7AmDHQ/zQvPys jcsd1QZ3buyR0Cwy9hA1iqBHZlwYGsoLCB5rr4AnHYyjQPN3PPQjxmQPC5Xdhk1TvSIU vge/Caawuq1qf3dIJMYjiQr7i6ON60j3fE3nIoVJiF/0plSzfhiHcuGpX6rx4OnFThX4 nV1ZHT7EUatSSsHPIut3aN+amt8PO/T2+El4KxsHNqyKCeXAdxwI2x+UvSS50tcfKZeX vuSw== MIME-Version: 1.0 X-Received: by 10.180.101.99 with SMTP id ff3mr1586968wib.21.1359191880817; Sat, 26 Jan 2013 01:18:00 -0800 (PST) Received: by 10.227.42.135 with HTTP; Sat, 26 Jan 2013 01:18:00 -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 04:18:00 -0500 Message-ID: To: Rasmus Lerdorf Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=f46d044280e83cdaf104d42d8501 Subject: Re: [PHP-DEV] I think that "Function naming inconsistency" bug deservers more attention From: theanomaly.is@gmail.com (Sherif Ramadan) --f46d044280e83cdaf104d42d8501 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Jan 26, 2013 at 3: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. > I don't think this could have been phrased any better :) *tip of the hat* > > -Rasmus > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --f46d044280e83cdaf104d42d8501--