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

Sanity-checking more arguments #34

Open
andrewcmyers opened this issue Apr 21, 2021 · 2 comments
Open

Sanity-checking more arguments #34

andrewcmyers opened this issue Apr 21, 2021 · 2 comments

Comments

@andrewcmyers
Copy link
Owner

andrewcmyers commented Apr 21, 2021

Simple mistakes like passing the wrong kind of argument are going to give new users grief. Most user-facing methods should do run-time type checking of arguments. The run-time overhead would be paid at declaration time so should be insignificant.

@andrewcmyers
Copy link
Owner Author

line labels should be checked more

@andrewcmyers
Copy link
Owner Author

Also the checks themselves should be robust to null/undefined values

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