Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:125138 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id C56101A00BD for ; Fri, 23 Aug 2024 13:16:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1724419115; bh=XRLHcZhErUUKZQLPNAWB+gue2qEJxTt4S70ZXEJk4Pc=; h=Date:From:To:In-Reply-To:References:Subject:From; b=fqCrWNLDRPRg9ihDc2dM1Fl5qFIKt5pXjVpTMi6FQdpap2ByOvo4O7RG24VfiHPFp RBBMRGKhqj9AmgFmIUlhi3vdsV3DqJsZQ4V12AH7s5BO8+Wus9ytz59e0P20oKgM06 KlziIl4ADVW7WV2gv5Cc1UXwc9OtyOUY+RFzShhC/Qf/V9mwY+htjKwOlE10ar6GxO WDWukKwASTF2glltoapN/OqNpoxVm1XhU3L6kOD9q6RGcPwqZvlf+WkHoMebAfMcUu oL+5ffTph5eoEK8/KSo2v3zyGJu3CfNuB161qRh+JSFOrO6qMwr3nVoJigTw/2G86Y B/ICsxAjiUJ0A== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AE5D618006D for ; Fri, 23 Aug 2024 13:18:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fhigh4-smtp.messagingengine.com (fhigh4-smtp.messagingengine.com [103.168.172.155]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 23 Aug 2024 13:18:34 +0000 (UTC) Received: from phl-compute-03.internal (phl-compute-03.nyi.internal [10.202.2.43]) by mailfhigh.nyi.internal (Postfix) with ESMTP id C1451114C047 for ; Fri, 23 Aug 2024 09:16:42 -0400 (EDT) Received: from phl-imap-09 ([10.202.2.99]) by phl-compute-03.internal (MEProxy); Fri, 23 Aug 2024 09:16:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bottled.codes; h=cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1724419002; x=1724505402; bh=XRLHcZhErU UKZQLPNAWB+gue2qEJxTt4S70ZXEJk4Pc=; b=SCVNecJWVwbfWO0yI3x4PQUqON jENvY1IH5Mr2W9KX4V9yb6dMsWzgwKaTe/e4uQxrNbCPkQ/euqyMqYgtcpsDe4f5 f4zpWpgGusF6UYPeHXlsO81Xhe5NODeof9j8OPvmpmps8I6IITrRKfiUSBi7CH15 c0yerQ0AskY5i7xD1wHNUI0/QbdEaR3yr9eUluVFnWtgBNILgz0F+/8PwkPjP6WY IV49GxY2WWLpsPEg524Q97X4VxNtCW12gvqNKA6we7oRCWYhbO1N0jRbnBAyZxJY Xqg+fpobF/OW64o+zIrvg/hXLSfSjHff+Qk9f3N9F8z0ya/Rz2krdZk3GJFw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1724419002; x=1724505402; bh=XRLHcZhErUUKZQLPNAWB+gue2qEJ xTt4S70ZXEJk4Pc=; b=cTLREZ0cdphjFMPH1f5LrdkgB7UfgdigMJLa/F8jrsuH xqGgd7+kl7s9Q/L0nPMD6VH9128BH818WEtPgkSiIV9gbLigRi39BR8zZO+3Fq54 CvAxCC0wcaONqZYE2ARpIkGiiBqnPNAXX0BXapF/Vvec+alWLD3jZdsTh4Kfe+iH HjEdW84mg8inysaJB4vexvD4gVTvo63ulFVSW1AzZxyy9DymORgHMCn880cPByCN clHfhHr3pXiIopiybGn4097JjTWtvwswLa3vAUpF8QbqFVIuR5eNgKAw4IKqcp0R Yk5Hqtn4ydPCFPOKrPbRR2XH0uVDzQbY/FQO6FyH5w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddvvddgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefoggffhf fvkfgjfhfutgesrgdtreerredtjeenucfhrhhomhepfdftohgsucfnrghnuggvrhhsfdcu oehrohgssegsohhtthhlvggurdgtohguvghsqeenucggtffrrghtthgvrhhnpeelkeehtd fgfefhleeilefggeeihfekvdelfeejtdfflefhheehfffgudetuddutdenucffohhmrghi nhepphhhphdrnhgvthenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehrohgssegsohhtthhlvggurdgtohguvghspdhnsggprhgtphhtthhopedu pdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehinhhtvghrnhgrlhhssehlihhsth hsrdhphhhprdhnvght X-ME-Proxy: Feedback-ID: ifab94697:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 7462D780065; Fri, 23 Aug 2024 09:16:42 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Fri, 23 Aug 2024 15:16:19 +0200 To: internals@lists.php.net Message-ID: In-Reply-To: <64406CFC-D844-46D9-BC08-BCD405D7BB53@cschneid.com> References: <846D7756-712B-4A7C-9FC6-DB9F858836B8@rwec.co.uk> <880ffc27dc9b421407a670c75d5f5ba756870396.camel@ageofdream.com> <790534cd-e158-4712-878c-642dfd0e2bad@app.fastmail.com> <63F3CFAA-0D9A-4323-A1A4-0E3544281ECE@cschneid.com> <64406CFC-D844-46D9-BC08-BCD405D7BB53@cschneid.com> Subject: Re: [PHP-DEV] [Concept] Flip relative function lookup order (global, then local) Content-Type: multipart/alternative; boundary=4b5b2cfac4df489a82a83b20c61b66af From: rob@bottled.codes ("Rob Landers") --4b5b2cfac4df489a82a83b20c61b66af Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, Aug 23, 2024, at 14:56, Christian Schneider wrote: > Am 23.08.2024 um 12:27 schrieb Rob Landers : > > On Fri, Aug 23, 2024, at 12:14, Christian Schneider wrote: > >> Am 23.08.2024 um 11:34 schrieb Nick Lockheart : > >> > I think we are all trying to achieve the same thing here. > >>=20 > >> I'm not sure who "we" and what "same thing" here exactly is. > >=20 > > Nick was replying to me :p, judging by the quoted paragraph. >=20 > The "all" in his sentence suggested to me that he means more than him = and you. > But then again I might have misinterpreted this. >=20 > > As far as function overloading goes, I recommend checking out a draf= t RFC I've been working on a very, very long time: https://wiki.php.net/= rfc/records. In some off-list discussions, it was clear that if I wanted= this syntax, I would need to pursue function autoloading. >=20 > Definitely an interesting read, thanks a lot for the work you put into= it! >=20 > > Further, function autoloading is a clearly missing feature that woul= d be useful in many situations. >=20 > The "clearly missing" and "many" part is where I disagree. But I was m= ainly considering current PHP, not future PHP syntax like the Records st= uff, agreed. >=20 > > If function autoloading doesn't work out, I will need to take a diff= erent approach to that syntax (which is fine, but not something I want b= ecause I chose the syntax for a very good reason). >=20 > I know you do not want to discuss this here as it is off-topic but it = kind of feels the only advantage is to get rid of "new" in the usage of = Records. But I'll leave it at that as to per your request, we can revisi= t that once the RFC hits the discussion stage. >=20 > > That being said, I'm not ready to discuss records here, so this is t= he first and last time I'll mention it on the thread. There is a Reddit = post in r/php and a GitHub repo if you are interested in discussing reco= rds. There are very many things to work out still, and it is very much w= ork-in-progress. >=20 > Also a bit off-topic but I still have to mention it, maybe worth anoth= er thread: > I understand where you are coming from but at the same time it feels a= bit worrying to me to use another medium (reddit) for a discussion abou= t future language features when we have this mailing list. Don't be worried about it too much. Many RFCs start somewhere else first= before they end up here. First as an idea, then a draft, then they ask = friends/coworkers to read them over, etc. By the time it ends up on the = list, a lot of work has been done (in some cases). Sometimes, they are s= imple-ish RFCs that need little work and are pretty straightforward, but= for more complex ones, there are usually several cycles before it will = end up on the mailing list. Further, it has come to my attention that an= implementation is basically an unwritten requirement, so spending time = on that is also a delay there. At least, that has been my experience so = far with that one. >=20 > I hope this won't mean that questions/suggestions/concerns on this mai= ling list won't be discredited because of discussions which happened els= ewhere. I'm sorry if I sound a bit paranoid here but I've been in this s= ituation before in other (not software related) aspects of my life befor= e where I was told that something was already decided and people were no= t willing to go back on certain issues because of that. The way I look at it, nothing is set in stone until everyone has seen it= and had a chance to respond. Yes, there are good reasons that things ar= e the way they are in that RFC, and during discussion, I expect those re= asons will come up. I have no idea if those reasons stand up under scrut= iny, and I won't find out until then. These are all known unknowns.=20 There are some people on the list who believe once it is on the list, it= is unchangeable unless you are a voter and act accordingly, such as ign= oring non-voter concerns. I, personally, feel that shouldn't be how thin= gs work. It is "our language" (voter or not) and not "Rob's language." I= guess we will see how that plays out in the coming months. >=20 > Regards, > - Chris >=20 =E2=80=94 Rob --4b5b2cfac4df489a82a83b20c61b66af Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

=
On Fri, Aug 23, 2024, at 14:56, Christian Schneider wrote= :
Am 23.08.= 2024 um 12:27 schrieb Rob Landers <rob@bottled.codes>:
> On Fri, Aug 23, 2024, a= t 12:14, Christian Schneider wrote:
>> Am 23.08.2024= um 11:34 schrieb Nick Lockheart <lists@ageofdream.com>:
>> > I think w= e are all trying to achieve the same thing here.
>>&= nbsp;
>> I'm not sure who "we" and what "same thing"= here exactly is.

> Nick was r= eplying to me :p, judging by the quoted paragraph.

The "all" in his sentence suggested to me that he means more tha= n him and you.
But then again I might have misinterpreted = this.

> As far as function overloading g= oes, I recommend checking out a draft RFC I've been working on a very, v= ery long time: https:/= /wiki.php.net/rfc/records. In some off-list discussions, it was clea= r that if I wanted this syntax, I would need to pursue function autoload= ing.

Definitely an interesting read, thanks= a lot for the work you put into it!

> F= urther, function autoloading is a clearly missing feature that would be = useful in many situations.

The "clearly mis= sing" and "many" part is where I disagree. But I was mainly considering = current PHP, not future PHP syntax like the Records stuff, agreed.

> If function autoloading doesn't work out, I= will need to take a different approach to that syntax (which is fine, b= ut not something I want because I chose the syntax for a very good reaso= n).

I know you do not want to discuss this = here as it is off-topic but it kind of feels the only advantage is to ge= t rid of "new" in the usage of Records. But I'll leave it at that as to = per your request, we can revisit that once the RFC hits the discussion s= tage.

> That being said, I'm not ready t= o discuss records here, so this is the first and last time I'll mention = it on the thread. There is a Reddit post in r/php and a GitHub repo if y= ou are interested in discussing records. There are very many things to w= ork out still, and it is very much work-in-progress.

<= /div>
Also a bit off-topic but I still have to mention it, maybe wor= th another thread:
I understand where you are coming from = but at the same time it feels a bit worrying to me to use another medium= (reddit) for a discussion about future language features when we have t= his mailing list.

Don't be wor= ried about it too much. Many RFCs start somewhere else first before they= end up here. First as an idea, then a draft, then they ask friends/cowo= rkers to read them over, etc. By the time it ends up on the list, a lot = of work has been done (in some cases). Sometimes, they are simple-ish RF= Cs that need little work and are pretty straightforward, but for more co= mplex ones, there are usually several cycles before it will end up on th= e mailing list. Further, it has come to my attention that an implementat= ion is basically an unwritten requirement, so spending time on that is a= lso a delay there. At least, that has been my experience so far with tha= t one.


I hope this won't mean that questions/suggesti= ons/concerns on this mailing list won't be discredited because of discus= sions which happened elsewhere. I'm sorry if I sound a bit paranoid here= but I've been in this situation before in other (not software related) = aspects of my life before where I was told that something was already de= cided and people were not willing to go back on certain issues because o= f that.

The way I look at it, = nothing is set in stone until everyone has seen it and had a chance to r= espond. Yes, there are good reasons that things are the way they are in = that RFC, and during discussion, I expect those reasons will come up. I = have no idea if those reasons stand up under scrutiny, and I won't find = out until then. These are all known unknowns.

<= div>There are some people on the list who believe once it is on the list= , it is unchangeable unless you are a voter and act accordingly, such as= ignoring non-voter concerns. I, personally, feel that shouldn't be how = things work. It is "our language" (voter or not) and not "Rob's language= ." I guess we will see how that plays out in the coming months.


=
Regards,
- Chris


=E2=80=94 Rob
--4b5b2cfac4df489a82a83b20c61b66af--