3 ms·
What's infuriating about this? If you give those variables good, descriptive names, and provide a default argument for the optional variable (which is just basi
by ajxs 5y ago
What's infuriating about this? If you give those variables good, descriptive names, and provide a default argument for the optional variable (which is just basic good programming practice), then what's the problem?
- eyelidlessness 5y agoThe problem is none of those things are visible where they matter. Sure your function signature might say what “true” means, and what parameter “true” is assigned to. Your IDE will probably even give you hints as you type. Those won’t show up in code review. They won’t show up in diffs at all if you rename the parameter and change its semantics.