Disguised as a friendly shortcut is another coupling smell.
In languages with optional arguments but limited to basic types, we need to set a flag and add an accidental IF (another smell).
- Make arguments explicit.
- All function calls must have same arity.
Detection is easy if language supports optional arguments.
Be explicit. Favor readability over shorter (and more coupled) function call.
The trouble with programmers is that you can never tell what a programmer is doing until it’s too late.