in reply to Re^2: Correct idiom for default parameters
in thread Correct idiom for default parameters
It also makes the calling code self-documenting. This is a large win for anyone dealing with the code including you when you come back to it a couple months later and can't remember which of the 6 args goes in the middle or what happens if you leave arg 2 out, etc, etc.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Correct idiom for default parameters
by JavaFan (Canon) on Apr 29, 2010 at 09:38 UTC | |
by Your Mother (Archbishop) on Apr 29, 2010 at 14:07 UTC |