Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109221 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 16238 invoked from network); 23 Mar 2020 03:12:59 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 23 Mar 2020 03:12:59 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 619BE1801FD for ; Sun, 22 Mar 2020 18:37:02 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 22 Mar 2020 18:37:00 -0700 (PDT) Received: by mail-il1-f180.google.com with SMTP id f16so2249286ilj.9 for ; Sun, 22 Mar 2020 18:37:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datadoghq.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BijWxflq3oMXhGdajH3XyxQNDrJ2CRvnlylOe2MZAKA=; b=bW0o5yXSheUrqki+MxEBH5lawgCMNx41qnc+7Sl3/e/I0bSFnI8ty2Cog/FosKZAGU 6s7Czb+xxeAuYl8IBgRY5WMxENtpJhaePvHnxYE2sG2XWiI5ag6m0XbhViHTuBuy6c2y 56MSqk4WEed0sXmYUlXovEtefv4Ppu4+7sAK0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BijWxflq3oMXhGdajH3XyxQNDrJ2CRvnlylOe2MZAKA=; b=akU9Iu95M+Ynu/cqh8D66XV/J1LOM5RbL4/VbGtLlKShjsLeGCK7z0ov4YENs6GSET PHnaxD+HZ2WcOziZzGra5NqTLpHGEvjjL67bQCl2cLc8WrsaMYezpMzCu53+XwywACRP 52hfT90DILQTwsB4jvuGCoLBKksXQ7nuxR12iV/IXsjE9OxN0hfXauGXeTMWthS4W/bi ord5qhj38I6onrj/8hnJhgcWDqu3qeKyf+x3hHFVu8m8PY3lcEzRUgtTI3RvkGl3r7qI w4KhxnfVtRFpvMjQF6vVKKnU6FrZf+sjpoWkJRMXE/7fY+Ouj2nMzNGAI21S1WZG8zc2 IjJQ== X-Gm-Message-State: ANhLgQ0kk0JcBq24mOn+HYc0w7Wu7vEN/hP7nmiRI623c+0jmhUqnIZC YkV8/1nTOkiA9U0ZvzLj3AJYmanadGTXlilpknH28A== X-Google-Smtp-Source: ADFU+vs2EWx29hyM3NVDa97AZqYhfVRCYLnVJzLmnp+qyWbnx8xuQJYBWz2K9bfPNh1ROwzNuPkeh1+3FlsXBz1BNNY= X-Received: by 2002:a92:3b1d:: with SMTP id i29mr19757908ila.232.1584927417037; Sun, 22 Mar 2020 18:36:57 -0700 (PDT) MIME-Version: 1.0 References: <1b781e1e-3f27-485b-ab47-5eeaf9496548@www.fastmail.com> In-Reply-To: <1b781e1e-3f27-485b-ab47-5eeaf9496548@www.fastmail.com> Reply-To: Levi Morrison Date: Sun, 22 Mar 2020 19:36:46 -0600 Message-ID: To: Larry Garfield Cc: php internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Improving PHP's Object Egonomics: A broad analysis From: internals@lists.php.net ("Levi Morrison via internals") > In short: I believe our biggest potential win is to focus on 3 RFCs: > > * Constructor Promotion I would vote yes on this, assuming the implementation is sane. > * Named parameters This one is tricky -- there are tradeoffs of every approach I've seen proposed. I have an idea for another way to address this space, but it too has drawbacks; there's inherently no free lunch here, I think. > * Compound Property Visibility What is this last one? I searched for "compound" in the article, but did not get many hits, none of which described what it actually _is_.