You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to ensure that arguments passed through ... are documentable (i.e. are inherited from another function) and that their scope is relatively limited.
Currently, nearly every function takes ... which means that we don't have issues with extra arguments being passed to functions that don't take them.
This short reprex demonstrates the issue with removing ... from existing functions.
In the above example, we would need to add x as a parameter to h2() or do some work to separate the arguments in the .... In the end, though, the effort will be worth it because documentation will be much clearer and the user will be able to figure out from autocompletion, etc, what parameters get passed to which functions.
The text was updated successfully, but these errors were encountered:
We need to ensure that arguments passed through
...
are documentable (i.e. are inherited from another function) and that their scope is relatively limited.Currently, nearly every function takes
...
which means that we don't have issues with extra arguments being passed to functions that don't take them.This short reprex demonstrates the issue with removing
...
from existing functions.In the above example, we would need to add
x
as a parameter toh2()
or do some work to separate the arguments in the...
. In the end, though, the effort will be worth it because documentation will be much clearer and the user will be able to figure out from autocompletion, etc, what parameters get passed to which functions.The text was updated successfully, but these errors were encountered: