-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The behavior of the `doFunction` routine is highly dynamic and dependent on a number of optional arguments. None of these arguments is required, and invocations of the function have become inconsistent in how these are specified. Re-factor `doFunction` to accept a single `options` argument. This avoids the need to specify null values for irrelevant positional arguments and makes the call site more legible to human readers. Additionally, provide documentation for each of the options.
- Loading branch information
1 parent
4e59553
commit 06b5d40
Showing
1 changed file
with
48 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters