Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67959 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75203 invoked from network); 27 Jun 2013 15:25:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jun 2013 15:25:35 -0000 Authentication-Results: pb1.pair.com header.from=ircmaxell@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ircmaxell@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.44 as permitted sender) X-PHP-List-Original-Sender: ircmaxell@gmail.com X-Host-Fingerprint: 209.85.212.44 mail-vb0-f44.google.com Received: from [209.85.212.44] ([209.85.212.44:62588] helo=mail-vb0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C0/88-34034-E695CC15 for ; Thu, 27 Jun 2013 11:25:34 -0400 Received: by mail-vb0-f44.google.com with SMTP id e15so773215vbg.17 for ; Thu, 27 Jun 2013 08:25:31 -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=LTAK2iYwSQuszwYpih4hoN6pwpMchmHzoL6X5VRcS6M=; b=QJ2YOZpKIDKrCVy+y9dR2SkcUvehoHmQkRxqS8SbwojdPbEqP9PEpanSx8w+tEC7/I zlC6addI007H6XQwHg+HuRTddFTpDw0M04dWsL5YHjSemQbDzzD4NF71eJ6DdFZ2iDmA DZdJbrJsFBKKz4F4YyX9td/9UmvusyQDVlLriLMQjbaGvUC4u3ckWCGXkr+ROzn8qOJp 5b93LKr0UfiaawH7E43UGJp8C3HnQVyJiPhjJaKy4lm2/EkKIjFCpIKThuljaP2IhWci 1iMEtND3L/N1pAlG+wjTheyozn5eUndZjNgQUJOtGGtECbz0VlGsk6gW/5zMvNjunN63 OZeg== MIME-Version: 1.0 X-Received: by 10.58.40.16 with SMTP id t16mr3718103vek.64.1372346731199; Thu, 27 Jun 2013 08:25:31 -0700 (PDT) Received: by 10.58.94.201 with HTTP; Thu, 27 Jun 2013 08:25:31 -0700 (PDT) In-Reply-To: References: <51C9FA9C.8050403@sugarcrm.com> <51CA1C93.6080500@sugarcrm.com> <51CA24C5.9090505@sugarcrm.com> <51CB167A.4020207@sugarcrm.com> Date: Thu, 27 Jun 2013 11:25:31 -0400 Message-ID: To: Laruence Cc: Stas Malyshev , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e013a15ba6c041804e0245fdb Subject: Re: [PHP-DEV] RFC: Protocol Type Hinting From: ircmaxell@gmail.com (Anthony Ferrara) --089e013a15ba6c041804e0245fdb Content-Type: text/plain; charset=ISO-8859-1 Laruence, I missed one thing here, it should be: > why we need such feature that only a few people need it, and will > also make reset people confused, and most of other language doesn't > have it, and using it will make things a little mess(and low > performance vs pure interface)? > I've proven twice in this thread, and on the RFC itself that performance is equal to or **faster** than the current interface hints. Why does this subject keep coming up? Do you not believe my numbers? Run them yourself. The branch is available. And if you'd like, I can prove to you logically why performance is going to be better in cases where you don't implement interfaces but use Structural hinting. If we're going to ignore the discussion and keep bringing issues that were put to bed back up again, there's no point continuing here. Because "OMGS, ITS SLOW" is the antithesis of a useful discussion once it's been shown that it's not... As far as "only a few people need it", last I checked, the Drupal community was not 'only a few people' (27k developers in the Drupal community alone), and several (at least 5) of their core contributors have expressed this feature solving some very significant problems they have been experiencing. But if you *really* think this feature is needed by only a few people, and that I'm blowing it way out of proportion (or inventing a problem), I'll retract this proposal. I would just highly recommend that you think about the assertion that you're making that "you know the community's needs" (to an 80% degree at least). That's a very significant thing to say, and I hope that you are willing to take the responsibility for that as well... Personally, I can only speak for the side of the community that I interact with regularly, which is by far not the entire community... Anthony --089e013a15ba6c041804e0245fdb--