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

Separate environment validity check into a separate function? #18

Open
HalosGhost opened this issue May 23, 2019 · 0 comments
Open

Separate environment validity check into a separate function? #18

HalosGhost opened this issue May 23, 2019 · 0 comments
Labels

Comments

@HalosGhost
Copy link
Owner

So, if we had a separate (hypothetically) env_validate() function, then we could just thoroughly test that vs weird cases (e.g., via fuzzing), and we could call that early-on in main(). Then, most other functions could assume a reasonable environment, and we could simplify a few things (and hopefully make error handling simpler).

Sounds like, at least, a reasonable consideration…

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

No branches or pull requests

1 participant