Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44867 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94358 invoked from network); 9 Jul 2009 12:40:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jul 2009 12:40:06 -0000 Authentication-Results: pb1.pair.com header.from=paul.biggar@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=paul.biggar@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.153 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: paul.biggar@gmail.com X-Host-Fingerprint: 72.14.220.153 fg-out-1718.google.com Received: from [72.14.220.153] ([72.14.220.153:61302] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/84-27938-525E55A4 for ; Thu, 09 Jul 2009 08:40:06 -0400 Received: by fg-out-1718.google.com with SMTP id 13so1345612fge.0 for ; Thu, 09 Jul 2009 05:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=b9yM9/zMUaZoe/1QUKxH6e6QT1V7Rfwtg0U5ra/y4F8=; b=ZNKAg+eK97hNTkBoeYDFXUiJpenB9DTrdVl0kyi+7NTmtctkuEXLApEB2DuB+FJ1G2 yUx4mGyNVBgE4ZiqS8ScvzvANkk1B/H8TO9bZpO65r8qqP2Tf+AKxWb5Zj1nsUjzQK9g rMIcXth8v4mFYgUYjR96HTsR+0KP1jvJ/4zAI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=eUbF+JUJYMTRMJsdR5OBrXnoXhYxc5hqdLUU1Vtk553nmJXUkSqBhMu0lW+sd5WwrS y4TSvVyvcBG0iSA5I9ZKg2pasOA3xaaSUho68ruFtqK/i7YeOWd558e02ldjmIif8Lqw xZuQ8jFnoKEImbw5waseIEdz7Xju4O22zYwh4= MIME-Version: 1.0 Received: by 10.239.162.78 with SMTP id k14mr61361hbd.32.1247143203063; Thu, 09 Jul 2009 05:40:03 -0700 (PDT) In-Reply-To: <000901ca0091$7d0a37c0$771ea740$@nl> References: <7.0.1.0.2.20090708224156.0ac5a438@zend.com> <7.0.1.0.2.20090709121921.0ae17d58@zend.com> <000001ca0082$f8c15a10$ea440e30$@nl> <000901ca0091$7d0a37c0$771ea740$@nl> Date: Thu, 9 Jul 2009 13:39:43 +0100 Message-ID: To: Dennis Haarbrink Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Type hinting - Request for Discussion From: paul.biggar@gmail.com (Paul Biggar) On Thu, Jul 9, 2009 at 1:33 PM, Dennis Haarbrink wrote: > I mean, libraries may have all kinds of quirks, you may not be satisfied with the supplied API or maybe even the entire philosophy behind it, but that shouldn't stop you from using it or is it? You must learn what these quirks are. Likewise, every developer must learn the quirks of the "type hinting" as they will almost certainly be required to interact with code that uses it. In an extreme case, suppose that we completely balls-ed up the semantics of type checks to be really really hard to use, but people used them anyway. That would lead to a sharp learning curve. The people who are against this proposal, or any other, know they will be required to use it when it comes in, and have an interest in making sure it is clean (whatever that means in each case). We shouldn't dismiss their objections on the argument that they arent required to use it. If its in the language, they are required to learn it. Paul -- Paul Biggar paul.biggar@gmail.com