5 ms·
I wouldn't lump named parameters and defaults together like that. They're completely separate concepts.
by kevinkemp 15y ago
I wouldn't lump named parameters and defaults together like that. They're completely separate concepts.
- mendicant 15y agotrue, 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.