in reply to Thoughts on "one function, flexible arguments"?

Hi, I would say bad idea because not easier for users as they then have to keep track of which functions they use are liberal and which are not, and definitely not easier for maintainers.

FWIW I like Method::Signatures a lot for sub signatures and basic param validation, and it has the advantage that you can document the function with the sdame signature you use with it, and the user knows what the API is.

Hope this helps!


The way forward always starts with a minimal test.
  • Comment on Re: Thoughts on "one function, flexible arguments"?