Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84338 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33989 invoked from network); 5 Mar 2015 12:32:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Mar 2015 12:32:58 -0000 Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.179 as permitted sender) X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 209.85.214.179 mail-ob0-f179.google.com Received: from [209.85.214.179] ([209.85.214.179:38091] helo=mail-ob0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/D2-18504-9FC48F45 for ; Thu, 05 Mar 2015 07:32:57 -0500 Received: by obcwo20 with SMTP id wo20so13476472obc.5 for ; Thu, 05 Mar 2015 04:32:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=N1jHVi5QvFFlwQ9kyUwhlT3nMIamVkdib9CBG6tmtYo=; b=ylGzOR5pHv6bT5EyqTt4kgJTzV4DABG8mlzjXF4YqwJx71SUh4nnqmx2glCvEVvTSE 91jRCCkFvSdpMo/9J/RJRCe5a/x0J+RMOcP6Yv5xYd1n8KLvS+fZtPyM7Fa+rc4Gt1uI gTSHkFqaGjZxLHKVJMyWwa9Yr1sIiFKz/UcmM+SKr1QbALuHskX8s0mwztYVFiOUw8YH sRxfKWr8ln2608sBcRHPgbTTZrbcXb621O6vv/qieFpAX6eVew5x6MMWicnOBx1mjZzu Hf+iteuBaGHUlArNyYxHtzl49EzIR3AcuHUuR/VwMJbMORaGgDPFvm7tReOfxa14iO9V qO+Q== X-Received: by 10.60.84.163 with SMTP id a3mr6687939oez.55.1425558774626; Thu, 05 Mar 2015 04:32:54 -0800 (PST) MIME-Version: 1.0 Received: by 10.60.14.39 with HTTP; Thu, 5 Mar 2015 04:32:34 -0800 (PST) In-Reply-To: References: <54F4E93C.80206@gmail.com> <54F4EBEC.2090702@garfieldtech.com> <54F4F3FC.6060501@fischer.name> <54F4FDFB.8010701@lsces.co.uk> <54F5895D.3090002@gmail.com> <554F0C3F-770F-4694-A5AB-FDC54FCCBF00@gmail.com> <1FCB68B8-3E55-4B5D-B805-9D92D848A3A1@gmail.com> <5D8591E2-5AE6-4B4C-AAE0-3D15523410AC@gmail.com> <54F83C4D.1020206@gmail.com> Date: Thu, 5 Mar 2015 14:32:34 +0200 Message-ID: To: Pierre Joye Cc: Rowan Collins , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e011602765e4005051089c41e Subject: Re: [PHP-DEV] Consistent function names From: arvids.godjuks@gmail.com (Arvids Godjuks) --089e011602765e4005051089c41e Content-Type: text/plain; charset=UTF-8 2015-03-05 13:49 GMT+02:00 Pierre Joye : > > > I will say it again a last time, in my opinion only a clean API; > object-like or real object as long as performance is not affected is > the only way I could see to actually solve this problem. > > Changing the names, argument order (pointless once we will have named > arguments, btw) and similar solutions are band aids solutions, > confusing at best, terrible at worst. It is pointless to do it after > almost two decades for some of them. > > -- > Pierre > > I'm with Pierre here. Adding aliases is gonna mess up things even more. For example - autocomplete will become hard to navigate. It's already quite lengthy list a lot of the times and it's easier just to write the whole function name sometimes by hand. Adding aliases will make it worse. We really need a new API, that is not crossing paths with the old. That way people can start building stuff on new API's and we could phase out the old mess, for example: depricate in PHP8, remove in PHP9. Stop-gap measures have created enough problems already, or did everyone suddenly got an amnesia and forgot all the past lessons on the list? --089e011602765e4005051089c41e--