Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106610 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 49592 invoked from network); 14 Aug 2019 18:54:02 -0000 Received: from unknown (HELO mail-yw1-f46.google.com) (209.85.161.46) by pb1.pair.com with SMTP; 14 Aug 2019 18:54:02 -0000 Received: by mail-yw1-f46.google.com with SMTP id n69so4686073ywd.12 for ; Wed, 14 Aug 2019 09:22:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=benramsey.com; s=google; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=pWiIA1FMhEcKNrk8IFQ0HVPYZjtJ6ksbzfFUpNLuuFk=; b=PzCP1rdnIneJPSHa6W4WsHQRbsnaczjT7t14V4oiq7nZ+T5a5hfPGq7IQEt8MIHtMF O2GrEsd4ITclNSTVvfEVHu7fzH8XJ7a6bLj90emQvZym1bR/tTAdn27iADpTnqzAlmmk z7wzykEeHeGIQTi1fONuKqxz513l6JE2XEFMYok1na1l11R+g8t7ayY8aIy8iIhMAopT 6RRwjfvIH5jQtwnQaoV435A7mfjVo3HOWZiSGjDIU8V3Zkgu+Z4uGcg0EZfPftlL1mye NeqmI8vANXkzKGzidXlw13nvqi+8oQWbhSil7R8gGG8XlbPqWw+oX61WM8wCJ/OA+bqa pkug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=pWiIA1FMhEcKNrk8IFQ0HVPYZjtJ6ksbzfFUpNLuuFk=; b=glEpaS1YFXxIr7VVNKA+Q1SKdITvPmotwCjRGfeBS0B6epMOsovpFnDCUPIcabDfw0 fUjDlZa3Aj6H0p0VkJM28C9oiT7v0oqi+k0gAYqYQwrx5SdKmM21lk7HXlaN5mJlR5gf K8rY9Prq+5NkyIQ031eLMO7IN4LstwZyL1EzpLhYiTADeayjogSQKimmvhDjf+WisarB PSKamgGtrVxuexMay1iSQ+dvBjnNXeI6xNMJRF5sail/6l2f+DRKT+bUCECzHRfcu10b nBCqFI4M5W5cLT/GUOlkHkFmEXoeEecJY5aBP1AiMmu+oNMSdlVDc2YxTRJkwm1e2dcC Xw6A== X-Gm-Message-State: APjAAAXRhhiqkYWXr+OKdLh/jgnc43IHVh/chU0vJk4zIc+HG2VLIhHp 2C54RdKv30QGgFVnVY09oRZaQQ== X-Google-Smtp-Source: APXvYqxp4Vqtnt2stlF20tSHBX0g6KI4oOtuUzLlk8QIqwePyr35rfRTJ3/mxG01ZJPQA0tLrM8ECQ== X-Received: by 2002:a81:3313:: with SMTP id z19mr85748ywz.188.1565799763078; Wed, 14 Aug 2019 09:22:43 -0700 (PDT) Received: from tinuviel.shootproof.com ([75.33.170.153]) by smtp.gmail.com with ESMTPSA id v68sm60530ywe.23.2019.08.14.09.22.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Aug 2019 09:22:41 -0700 (PDT) Message-ID: <1098C07D-3CFD-45A4-9AAA-68F83CA40E4A@benramsey.com> Content-Type: multipart/signed; boundary="Apple-Mail=_A1D6B3CF-086E-4FA7-AFF9-64E750109961"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Date: Wed, 14 Aug 2019 12:22:40 -0400 In-Reply-To: Cc: PHP Developers Mailing List To: Derick Rethans References: X-Mailer: Apple Mail (2.3445.104.11) Subject: Re: [PHP-DEV] Vote: Straw poll for P++ feasibility From: ben@benramsey.com (Ben Ramsey) --Apple-Mail=_A1D6B3CF-086E-4FA7-AFF9-64E750109961 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 14, 2019, at 11:14, Derick Rethans wrote: >=20 > Hi, >=20 > In the last week(s) there has been a lot of chat about Zeev's P++ = idea. > Before we end up spending this project's time and energy to explore = this > idea further, I thought it'd be wise to see if there is enough animo = for > this. Hence, I've created a document in the wiki as a poll: >=20 > https://wiki.php.net/rfc/p-plus-plus I voted "no." While I've not contributed to the discussions here, I've been following them and also reading what many on Twitter have been saying. I'll admit, I liked the idea of P++ for the novelty of it, but as the past has proven, we can continue to provide greater type safety in PHP, while retaining the dynamic character and flexibility that many enjoy. In short, the internals team has done a great job of allowing us to have our cake and eat it, too. Sara shared this a few days ago, and I=E2=80=99d like to reiterate it: > Strict(er) typing - I'm not sure, on the surface, what future = expansions > we'd plan for in this area which couldn't fit into standard PHP in a = non > BC-breaking way. There have been a few people on Twitter floating up the idea of something like TypeScript for PHP. This might be a better approach for those who want to significantly diverge from PHP proper. Already, it is possible to build something like this and have it transpile to PHP. In the future, perhaps it could even compile down into Zend opcodes that could be loaded directly into the PHP interpreter. Either way, it wouldn't change PHP itself, but it could provide the syntactic sugar and improved type-safety that folks are looking for. More importantly, it wouldn't split the community or internals. Cheers, Ben --Apple-Mail=_A1D6B3CF-086E-4FA7-AFF9-64E750109961 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iHUEAREIAB0WIQToXQMR3fpbrPOmEOewLZeYnIwHGwUCXVQ1UAAKCRCwLZeYnIwH Gz9iAP40PDCG/3mhaiLmAA21q3+Uvz19w9f+MqhFDBiM/DsxPAD/d8SO4VHV7Qb1 iRuDzT9sJktq/1/kt+BGz5xC1Y+RJis= =XzPa -----END PGP SIGNATURE----- --Apple-Mail=_A1D6B3CF-086E-4FA7-AFF9-64E750109961--