NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Stop Using Pseudo-Types (f2r.github.io)
pwdisswordfishy 22 minutes ago [-]
Why? The article fails to explain.

> The introduction of first-class callables simplifies callback handling. You no longer have an excuse to define your callbacks like this:

> <?php

> $data = array_map(trim(...), [' x', 'z ']);

“First-class callables” is that exact syntax.

boycothn 3 hours ago [-]
[dead]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 09:19:11 GMT+0000 (Coordinated Universal Time) with Vercel.