Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83338 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84927 invoked from network); 20 Feb 2015 18:30:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2015 18:30:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain lerdorf.com designates 209.85.192.173 as permitted sender) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.192.173 mail-pd0-f173.google.com Received: from [209.85.192.173] ([209.85.192.173:39433] helo=mail-pd0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 49/9B-14173-63D77E45 for ; Fri, 20 Feb 2015 13:30:20 -0500 Received: by pdjy10 with SMTP id y10so9343087pdj.6 for ; Fri, 20 Feb 2015 10:30:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=QvjUb04k9vOf/4wm5+CwHEQRHJ7qyL4ze8Yj3voD/es=; b=bai6cx53pTgIcDhq1SwIiU+h6odDagqV6dvOSmw5Hetqd5sDedVwu22O82F/pbaxPp QgUsiOlXZHni5BqmTAOysFTZcy9jaf809mHFjzTCSzC88BfG+kMhPCSGg4eFg7ZWHAg4 XYblTeIHK7d8rLvaObqq/yN8IALP8/Y49UdG9YQtxm1m76bZs1cgUFrqBsESgDkmZsD6 8uOyeDP6SwUN8t0gXz9i3ffBdu4CbO/IGEQcPeYMOvZgJ3qyBljT8uYF5JoIP5p9yNVW PUsLO4Rlyz0rcAibTo7XKo4oLGMaaBeU0JNp+a0gmHkDz0GWntoZB+Tcp322ZU5xHktg LrFw== X-Gm-Message-State: ALoCoQm/QrDUH/f7C2jIDpjTAjOqhZ0/R1gJpPdOhR7O+52f/x0GHOBwzrBbkH6M+pd23lK5kClo X-Received: by 10.68.95.229 with SMTP id dn5mr19254506pbb.160.1424457008680; Fri, 20 Feb 2015 10:30:08 -0800 (PST) Received: from [192.168.200.14] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPSA id oe5sm27544831pbc.33.2015.02.20.10.30.06 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 10:30:07 -0800 (PST) Message-ID: <54E77D2E.60407@lerdorf.com> Date: Fri, 20 Feb 2015 10:30:06 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Anthony Ferrara , Larry Garfield CC: "internals@lists.php.net" References: <20150220170854.308596800F2@frontend2.nyi.internal> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="F06wX8BMws28RVakiR9GVCw5hwivu2owR" Subject: Re: [PHP-DEV] Reviving scalar type hints From: rasmus@lerdorf.com (Rasmus Lerdorf) --F06wX8BMws28RVakiR9GVCw5hwivu2owR Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 02/20/2015 09:39 AM, Anthony Ferrara wrote: > I think if anything, the appearance of Hack (and its adoption) show > that people want static typing, at least to some level... To be perfectly transparent here though, you should mention that your proposed RFC goes well beyond the strict typing that is in Hack because in Hack the internal API is largely untyped while your proposal is to default the entire internal API to strict types in strict mode. Also, in Hack there is a distinction between the off-line hh_client type-checker and the runtime. Hack examples all using