Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77255 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85789 invoked from network); 16 Sep 2014 15:24:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Sep 2014 15:24:17 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@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: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.214.179 mail-ob0-f179.google.com Received: from [209.85.214.179] ([209.85.214.179:61164] helo=mail-ob0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/32-64534-02658145 for ; Tue, 16 Sep 2014 11:24:16 -0400 Received: by mail-ob0-f179.google.com with SMTP id wp18so2054822obc.38 for ; Tue, 16 Sep 2014 08:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=tRn7IZZHji8Zm9r81P3j+f+IOCS4Yl+ZsYHyLcL0aew=; b=g+PpKOAYw4zXIZl6EX5Ts9aWo67oC5e4p5nHKVRYUbbZI719QpLj68Y7XNEtMmMib5 7zy2SWsNCA1U5Llo9WWgF4CfuId9RbVjInXSZLb/mLu9YJYy+6ZDK7HnKZoMjmxn5Vwe TEIHtq/7wWAUjmcT33i4eDz4prwmELgF9o+KmeWuyO3kqxHg16mscSD2pBUonhrA6Rjj xM4Mx7NsRdl+2eE1Lgn9ONZMLUYWh28mDhEA8LNDY8k7SqZy0+Mxf0OMdZ3Ab3w10rQi NTZrJ11HsfJnpFpi67Fmsx/JsC/lY81SsCE0pWj6itXyfKGiT65W1UGFRa8SbdYIzu/u qSwA== MIME-Version: 1.0 X-Received: by 10.182.119.230 with SMTP id kx6mr12063998obb.72.1410881051231; Tue, 16 Sep 2014 08:24:11 -0700 (PDT) Sender: morrison.levi@gmail.com Received: by 10.76.106.20 with HTTP; Tue, 16 Sep 2014 08:24:11 -0700 (PDT) In-Reply-To: <74D45E97-4C96-41FA-B824-BCEBA056C654@ajf.me> References: <74D45E97-4C96-41FA-B824-BCEBA056C654@ajf.me> Date: Tue, 16 Sep 2014 09:24:11 -0600 X-Google-Sender-Auth: aypoW55iQmpcbWr6qVlrGKrzgjw Message-ID: To: Andrea Faulds Cc: internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Renaming type-hints to something else? From: levim@php.net (Levi Morrison) On Tue, Sep 16, 2014 at 9:16 AM, Andrea Faulds wrote: > Hi! > > Here are my thoughts. > > The general concept should be called Optional Type Declarations, to repla= ce =E2=80=9CType Hinting". They are type declarations, and they are optiona= l. Thus the name. For the things themselves, they=E2=80=99re just Type Decl= arations, to replace =E2=80=9CType Hints". 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". If we change it, maybe just call them "type declarations". I think just referring to them as "types" could be too ambiguous.