Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61388 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58186 invoked from network); 18 Jul 2012 08:02:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jul 2012 08:02:46 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gg0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:34820] helo=mail-gg0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FC/33-39169-5AD66005 for ; Wed, 18 Jul 2012 04:02:46 -0400 Received: by ggnf2 with SMTP id f2so1471326ggn.29 for ; Wed, 18 Jul 2012 01:02:43 -0700 (PDT) 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=xourFny4jGBlm7Jg/2DftEkvsFyEdgAfrnEoYDQXE9g=; b=BDUPcGEeRobAHumnHErcxk21FtsRrlZf+25+D0pUgYH64rtAY+dF5y6hdCZRxRFceq EkrpZK/1nog50cpgg3ubinoH0rq8A21NYNt1VrNGLie/E2chfqMPgq2fGpNgo5gMo28k c6buuw8zEFikGbPNEf5Ru8LRHTqQAbBjs6MOlz4w9XOgIr5mVCHb0e/8FRVt7oQFUfhZ O/jgxfLMHJuXqNyYUoQ6slsArg75GDhKjnkYoAK3CHYI9mXPZ0NgBvykpzZZbkYjaQPt VW8TSW3v6asdgMGFSQpn53VoU3a+8yiwnBa5y9o7pByRXXO2oMXZnqE1lzQRMpSq/I7A 7KIw== MIME-Version: 1.0 Received: by 10.50.181.232 with SMTP id dz8mr1120416igc.36.1342598562782; Wed, 18 Jul 2012 01:02:42 -0700 (PDT) Received: by 10.231.134.9 with HTTP; Wed, 18 Jul 2012 01:02:42 -0700 (PDT) In-Reply-To: <50066724.6050901@sugarcrm.com> References: <50059AF8.5050805@sugarcrm.com> <5005CB58.2020601@sugarcrm.com> <50066724.6050901@sugarcrm.com> Date: Wed, 18 Jul 2012 10:02:42 +0200 Message-ID: To: Stas Malyshev Cc: internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Pseudo-objects (methods on arrays, strings, etc.) From: pierre.php@gmail.com (Pierre Joye) hi, On Wed, Jul 18, 2012 at 9:35 AM, Stas Malyshev wrote: > Hi! > >> See the other answers, clear APIs, no more argument mess, cleanness. > > Cleanness has nothing to do with pseudo-objects.You don't have to use > -> to have clean APIs, and using -> doesn't automatically make your APIs > clean. I really do not want to have a semantic discussion here. This syntax is sexy, allows us to clean our APIs, and is amazingly handy. The reasons why it is not yet implemented have been listed here, only a matter of time :) Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org