Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functions Problems #29

Open
pearsonca opened this issue Feb 6, 2020 · 0 comments
Open

Functions Problems #29

pearsonca opened this issue Feb 6, 2020 · 0 comments

Comments

@pearsonca
Copy link
Collaborator

In general, the function arguments are poorly named.

The are often too long.

They have similar prefixes (e.g., num.initial.cases and num.initial.clusters), which can present problems with R's ability to partially match named arguments.

They don't lean on the nomenclature established by the language ecosystem (e.g., incfn could be rIncubation to leverage people's familiarity with runif, rexp, etc.).

There are several functions with lots of arguments. Almost always an indication of doing to much in a function, and thus needing to change steps and how data flows between them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant