Skip to content

Commit 520c660

Browse files
Add a note about API design
1 parent b75664a commit 520c660

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

design/design-notes.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ because the number of functions can explode with more combinations,
6161
and in the latter we need to remember only one function and use any
6262
combination of options. That keeps the organization better.
6363

64+
The downside of using a single multiway function with options is
65+
that we dynamically select a branch which we could have selected
66+
statically. However depending on the function and usecase this may be
67+
insignficant, in cases where it makes sense we can also select different
68+
functions rather than a single multiway function.
69+
6470
## Directory Operations
6571

6672
Summary of important dir and file operations:

0 commit comments

Comments
 (0)