3 ms·
I don't agree, you should just know what they are. Defaults are helpful.
by reconbot 13y ago
I don't agree, you should just know what they are. Defaults are helpful.
- tnorthcutt 13y agoUntil they change, and your code breaks, and you have to go figure out why. The point of not (silently) using defaults is that as long as you're explicit with your arguments, you won't get surprised by changing defaults. Of course, you might get surprised by any number of other changes, but you can at least reduce your failure surface area a little bit :-)