Re: [RFC] Default expression

From: Date: Mon, 26 Aug 2024 14:39:07 +0000
Subject: Re: [RFC] Default expression
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Mon, Aug 26, 2024 at 5:36 AM, Jakob Givoni <[[email protected]](mailto:On Mon, Aug 26, 2024 at
5:36 AM, Jakob Givoni <<a href=)> wrote

> "default" should not evaluate to a value before sending it as an argument to the
> function or method.

I have no dog in this fight, but I agree with the above. Plus, having thunks like that also opens up
the gateway to hell^w^w^w^wmany other possibilities such as Scala-style lazy arguments, futures, who
knows what else…

—c


Thread (101 messages)

« previous php.internals (#125273) next »