Brent 8/26/2021

Named arguments and open source projects

Read Original

This article examines the debate among PHP open source maintainers regarding named arguments. It addresses concerns about increased maintenance and backwards compatibility risks, arguing that maintainers should trust users and treat parameter name changes as acceptable. It also highlights how named arguments provide a cleaner syntax for passing data to variadic functions compared to arrays.

Named arguments and open source projects

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
2
Container queries are rad AF!
Chris Ferdinandi 2 votes
4
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
5
Wagon’s algorithm in Python
John D. Cook 1 votes