Hacker News new | ask | show | jobs
by mendicant 5322 days ago
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.