ArgumentsOptions was new in version 12.2. I looked at the application on that page, and it makes code very difficult to understand. What if anything does ArgumentsOptions do for us that we couldn't do before?
$\begingroup$ $\endgroup$
2 - $\begingroup$ It just gives you another tool for validating the arguments to a function. Can't think of anything that it does that you absolutely could not do before, but I'm not sure why that matters. If you find it convenient or if it clarifies your code, then use it. If you don't feel a need for it, then don't use it. $\endgroup$lericr– lericr2025-01-18 23:36:09 +00:00Commented Jan 18 at 23:36
- 3$\begingroup$ I’m voting to close this question because the question is not constructive as asked. The documentation provides several examples, so unless there is a question about how to actually use it, I don't think this adds value. $\endgroup$lericr– lericr2025-01-18 23:38:04 +00:00Commented Jan 18 at 23:38
Add a comment |