General information
Category:
Coding, syntax and commands
>>Who by ? And why ?
>
>Someone asked about it at an MVP Summit. I summarized the result of the discussion.
Pretty short summary :-}
>
>>
>>Are you thinking of named parameters (but the question still applies) ?
>
>Yes, you're right. Stupid brain was multi-tasking at the time.
:-}
I guess I pretty much agree on the use of named parameters. Useful for the MS Office interfaces etc but designing a native .net method that accepts so many parameters that named parameters become useful would be counter-intuitive.
OTOH, IMO optional parameters *do* have a use and can often be a valid alternative to overloads
>>I don't think I've ever use a parameter array (except for a Main entry point) ....
>
>It isn't recommended for the reasons I gave.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only