General information
Category:
Coding, syntax and commands
Environment versions
Network:
Windows 2003 Server
So you think these guidelines are *always* the best solution ?
I admit I was thinking more in terms of 'ref' and 'out' . Tend to agree re: named parameters.
>I don't necessarily agree with that. There is good advice in there that makes for better, more maintainable code. Named parameters were introduced to C# to support COM interop, specifically Office, where some methods have a dozen or so parameters, most of them optional. Method overloading is fairly common, but I've seen people get carried away with it. In that case, the design should be rethought because the method is most likely doing too many things.
>
>>But the focus of these guidelines is for *framework* design - AFAICS from a CLS compliant POV.
>>For internal C# libraries that are not always the best solution.....
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