Dave Barr
davebarr.dev
Dave Barr
@davebarr.dev
Dad, runner, programmer, Australian.
Luckily none! Was good weather for them though. Stuck to the middle of the trail as much as I could. No one wants a surprise side noodle.
December 29, 2024 at 2:44 AM
Took this whilst #running a few years ago along a rail trail close to my home. Sometimes you definitely have to stop and appreciate the beauty that’s around you!
December 26, 2024 at 10:17 PM
A key difference is short arrow functions inherit parent variable scope automatically, and some people might want that ability in a multi-statement closure, rather than having to “use (…)”. This was one of the features of wiki.php.net/rfc/auto-cap... that sadly was voted down by a narrow margin.
PHP: rfc:auto-capture-closure
wiki.php.net
December 20, 2024 at 11:49 PM