Re:Simple but Interesting Features of VS2010 and C# 4.0
by kevinkemp on Thursday November 17, 2011 @04:06PM
(#3249213)
I wouldn't lump named parameters and defaults together like that. They're completely separate concepts.
[ Parent
| on HN ]
Re:Simple but Interesting Features of VS2010 and C# 4.0
by mendicant on Thursday November 17, 2011 @04:11PM
(#3249237)
true, but they kind of go hand in hand.
The nice part about named params is that it can make your code more clear if you have a lot of parameters on a method... but you could do the same thing by introducing a parameter object and be as clear and more resistant to change.