Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82238 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70688 invoked from network); 9 Feb 2015 08:19:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2015 08:19:20 -0000 Authentication-Results: pb1.pair.com header.from=pajousek@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pajousek@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.53 as permitted sender) X-PHP-List-Original-Sender: pajousek@gmail.com X-Host-Fingerprint: 209.85.192.53 mail-qg0-f53.google.com Received: from [209.85.192.53] ([209.85.192.53:65154] helo=mail-qg0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 69/D3-50460-78D68D45 for ; Mon, 09 Feb 2015 03:19:20 -0500 Received: by mail-qg0-f53.google.com with SMTP id f51so20303835qge.12 for ; Mon, 09 Feb 2015 00:19:16 -0800 (PST) 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=AjvZ2iUIyWlqcheWI4YxLL35f398wO1qXCVSH6mLwTI=; b=AQaDDNHWMRSt4e//nOnV+/9N+L61z7EBSp7LnqGRvQizUEwMm9Sd0GBXK0IyrTtqJO S5AhnMyz1R9lNXpSFo/nFQ1GR8LsVF0Jg1wBdmOccPHddZFDFn9h8xPJoM7StIZoF+Sj 48AP1LE2r5DbRReLuYJjY146B1HZNhZXjAktL+PfzdSGRrU0ZAown+2K0PMY8OeXeJAR W+uKFFxE6lSfrHJoFU/iTJLpqkc/zrVsseqRkhrXvGFcwyCkcXfBmExNu7DNFUlTPjdi daQtIV1jIdsrS0dPCqImgYc+cu6mILHMEFUEHJqJwTsRtg6SlCjMjWyMIIj/IH+rYABd 7/Vg== MIME-Version: 1.0 X-Received: by 10.140.38.136 with SMTP id t8mr36512247qgt.61.1423469956702; Mon, 09 Feb 2015 00:19:16 -0800 (PST) Received: by 10.96.66.201 with HTTP; Mon, 9 Feb 2015 00:19:16 -0800 (PST) In-Reply-To: References: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> <54D5659D.5000602@php.net> <54D7A6DB.3050209@seld.be> <0a344270616df2c33c8a1f5db2df08a0@mail.gmail.com> Date: Mon, 9 Feb 2015 09:19:16 +0100 Message-ID: To: Dmitry Stogov Cc: Matthew Leverton , Zeev Suraski , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints From: pajousek@gmail.com (=?UTF-8?Q?Pavel_Kou=C5=99il?=) On Mon, Feb 9, 2015 at 9:04 AM, Dmitry Stogov wrote: > this is more or less true. :( > The proposal is presented in an unfair way to include strict typing without > the ability to vote for weak types only. > > Despite of semantic arguments, the implementation is a bit immature and > introduces slowdown for any code without type hints. > > Thanks. Dmitry. > > This is something I mentioned several times - there should be two votes. One for weak types and one for adding the strict typing on the weak typing as a bonus. Not bundling it into one voting, it makes it feel "forced". Pavel Kouril