Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77256 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87394 invoked from network); 16 Sep 2014 15:26:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Sep 2014 15:26:17 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 198.187.29.245 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 198.187.29.245 imap11-3.ox.privateemail.com Received: from [198.187.29.245] ([198.187.29.245:54960] helo=imap11-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BF/82-64534-89658145 for ; Tue, 16 Sep 2014 11:26:17 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id C17C48800EF; Tue, 16 Sep 2014 11:26:13 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap11.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap11.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MTtTG0qAp09r; Tue, 16 Sep 2014 11:26:13 -0400 (EDT) Received: from oa-res-27-90.wireless.abdn.ac.uk (oa-res-27-90.wireless.abdn.ac.uk [137.50.27.90]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id D84EE8800E4; Tue, 16 Sep 2014 11:26:12 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: Date: Tue, 16 Sep 2014 16:26:09 +0100 Cc: internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <74D45E97-4C96-41FA-B824-BCEBA056C654@ajf.me> To: Levi Morrison X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] Renaming type-hints to something else? From: ajf@ajf.me (Andrea Faulds) On 16 Sep 2014, at 16:24, Levi Morrison wrote: > On Tue, Sep 16, 2014 at 9:16 AM, Andrea Faulds wrote: >>=20 >> The general concept should be called Optional Type Declarations, to = replace =93Type Hinting". They are type declarations, and they are = optional. Thus the name. For the things themselves, they=92re just Type = Declarations, to replace =93Type Hints". >=20 > My worry about "optional type declarations" is that once a type is > present it isn't optional anymore. Could be confusing and I am unsure > if that's any better than a "type hint". >=20 > If we change it, maybe just call them "type declarations". I think > just referring to them as "types" could be too ambiguous. I agree. Let=92s just call them =93Type Declarations=94 then. -- Andrea Faulds http://ajf.me/