On 3/25/2025 4:11 PM, Rowan Tommins [IMSoP] wrote:
Writing coalesce($foo, 0) or ($foo ?? 0) is a small cost when writing the code 
to save cost every time anyone reads it.

I see, part of the concern is just avoiding implicit type coercion.  Yes, that would be an understandable reason to require a second value, which might limit the overall flexibility of the feature.

Reply via email to