By including the NamedParameters module into your class/module the 'named_parameters' macro is available. Optional parameters with default values can be as easily defined as mandatory parameters. Your actual method definition does not change at all.
Categories
LibrariesLicense
Creative Commons Attribution Non-Commercial License V2.0Follow named_parameters
Other Useful Business Software
Papirfly: Best user-friendly DAM and Content Creation Software
Papirfly provides a single online destination for all your employees and other stakeholders who are engaging with your brand, ensuring consistency in all aspects of their communications. Teams can produce infinite studio-standard marketing materials from bespoke templates, store, share and adapt them for their own markets and stay firmly educated on the brand’s purpose, guidelines and evolution – with no specialist skills or agency help necessary.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of named_parameters!