|Don't ask to ask, just ask|
Re^2: RFC: New style for argument check in subsby LanX (Chancellor)
|on Sep 05, 2012 at 13:22 UTC||Need Help??|
I occasionally use similar approaches, but I'm working in an environement which does rarely do parameter checks and if then with long and nested if statements.
Complicated hashslices are for most of my colleagues completely out of scope.
As far as I understand your code, everything which doesn't have a default-value must be ignored?
I think you have a special understanding of "optional".
UPDATE: But I think I could use this approach for personal use. :)
Unfortunately you don't show compatible way to check positional arguments.