Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by IshKebab

1 day ago

The issue isn't that they haven't added a load of modern features; it's that they never fixed the old janky broken features.

2 comments

IshKebab

Reply

marysol5  1 day ago

Reminds me that in the PHP5 days, there's a load of similar functions of which the parameters switch around...

  • 9dev  1 day ago

    Shame I forgot to add named arguments above, eliminating this problem too:

      array_map(callback: fn($i) => $i * 2, array: [10])

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities