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