Remix.run Logo
girvo 8 days ago

> so they are more memory efficient

They can be. It depends on the language, interpreter, compiler, and whether you do anything with those intermediate variables and the optimiser can get rid of them.

r34 8 days ago | parent [-]

I thought we are talking about PHP8.5:)

girvo 7 days ago | parent [-]

Ah, I thought we were talking more generally about PL constructs that let you avoid intermediate variables, apologies :)