Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101587 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77634 invoked from network); 10 Jan 2018 18:28:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2018 18:28:41 -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 74.125.82.182 as permitted sender) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 74.125.82.182 mail-ot0-f182.google.com Received: from [74.125.82.182] ([74.125.82.182:42090] helo=mail-ot0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8F/76-39025-85B565A5 for ; Wed, 10 Jan 2018 13:28:41 -0500 Received: by mail-ot0-f182.google.com with SMTP id s3so2694123otc.9 for ; Wed, 10 Jan 2018 10:28:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lerdorf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RH4ZziltRhDQWXwyVsRTs8uZZXsJDlb6PzgDFsOkAS8=; b=NjD+Zun27WPWMD98yEcXicmvvTPFhy38M9NwxSHqHnBjQmQHhpvqDIivzXIkovwphr iZJmuuCXVevwBDSiJQhDO9Nuy8NqD3ewZGfW7OCwh6i2p9cfFdOrOu01unxyEM7mjBnM Iuy8BSHnv/CsY7F0cyGPB2AYLjy7b0/AN85dN8+9Hs2rlDITTHcoHt1kR9Nv0S5qxzXa JsVuANWNePU7UzAZwP4AIx7tVoU21jiekT0kgHA3/4Cdrj+w9odv2ipjLVeJBwgC5BRi TSSOAyHFVn12Ps4cc16W9uH3WxjEFjU60ZLNyHvsDWuUXujC7n+HdAD69xQip3RtMnxU VT2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RH4ZziltRhDQWXwyVsRTs8uZZXsJDlb6PzgDFsOkAS8=; b=UUJPJ5/GNue0AAb29WoXBcfw3Y3NveDlGuLOtoYLjtBX0kLYJ6YWqAPj7aU7kCp1iM RLD2hLcs2rmazSbqnnVCnXZxyEUbgDqGIEd6yt6v8K5dBylCj9NN9xQk7CgCLZjRiyHl ij7OsUEqHYYcHjSbdNIgFqOtwDa9WRUUZ25tHS7UNI1VlsgIYwrUSjvpR1WkdQE6XJpD qiwiR4Bk2LVzbVxBq3ON9/d5mbuGPc4DJn37R1+0c5oM9xduPVky4CnMX8rfffdMI/v3 Oh+qNtxpdnMa/ra1TFGQxioRjrI/bfAHcHaoyawlpmHbycTiC4gES8s/Vgdo+QIRI63p XL5g== X-Gm-Message-State: AKwxytdMOr7X8UvJhYYzZGYjUVMyDvDqB6lgd7uD5r2s2nJ7amTH9Qpt 2O9PT5MgAC5eBkY1l9fqXyDuq+TrMjp8mDHhmVpSaw== X-Google-Smtp-Source: ACJfBov59soeYBrRiT77Z54l44UIexKNlDqdZmT40IDK5geNyYcMthQ9nhnrnC5T29eC0HjJ30xLg3/WjhutyQbE2ts= X-Received: by 10.157.63.143 with SMTP id r15mr12244848otc.360.1515608918311; Wed, 10 Jan 2018 10:28:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.74.121.200 with HTTP; Wed, 10 Jan 2018 10:27:57 -0800 (PST) In-Reply-To: References: <9a3a8760-f65a-a5c0-b318-1830a9a986c3@gmail.com> <9352F6DF-9940-49A2-9B1D-FA9258E9738E@lerdorf.com> Date: Wed, 10 Jan 2018 10:27:57 -0800 Message-ID: To: Ryan Jentzsch Cc: Michael Morris , PHP internals Content-Type: multipart/alternative; boundary="001a11c0ab9031d9b705627033be" Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Strong Typing Syntax From: rasmus@lerdorf.com (Rasmus Lerdorf) --001a11c0ab9031d9b705627033be Content-Type: text/plain; charset="UTF-8" On Wed, Jan 10, 2018 at 10:11 AM, Ryan Jentzsch wrote: > I agree with Michael (to a large degree) and I think I see clearly > Michael's point: > Under the current system I will NEVER create an RFC (or find someone with > the Zend engine coding chops to help me) because the RISK vs. REWARD with > the current RFC system is too likely to be a colossal waste of everyone's > time. > Currently the tail wags the dog (implementation details govern top level > policy). The current process nearly insists I spend valuable time coding up > front with a good chance that if/when the RFC goes up for a vote someone > will still be bleating about syntax, or using tabs vs. spaces, or some > other minor detail -- with a 2/3 vote needed it may shoot all my > preliminary hard work to hell. No thanks. There is a middle ground here. I agree that doing months of work on a rock-solid implementation doesn't make sense if you don't know the RFC will pass. On the other end of the spectrum, RFCs that are essentially feature requests with no specifics on the actual implementation also don't make any sense. A good RFC strikes a happy balance between the two. For many/most things, the actual work in figuring out the implementation isn't that bad. As Sara said, a full implementation isn't needed, but a rough sketch of what changes are needed along with their potential impact on the existing code definitely is. And yes, unfortunately, if your RFC touches the basic building block of PHP, the zval, then that rough sketch becomes even more important. If you stay away from trying to change a 25-year old loosely typed language into a strictly typed one, then the RFC becomes much simpler. -Rasmus --001a11c0ab9031d9b705627033be--