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

Duck typing #35

Open
CsatiZoltan opened this issue Nov 1, 2020 · 0 comments
Open

Duck typing #35

CsatiZoltan opened this issue Nov 1, 2020 · 0 comments
Assignees
Labels
tidy Tidy the code
Milestone

Comments

@CsatiZoltan
Copy link
Owner

Thorough checking for input types clutters the code and is not Pythonic. The user is expected to read the docstring of the parameters and pass the proper type.
Later, the type checking could be enforced by using static analyzers, such as mypy.

@CsatiZoltan CsatiZoltan added the tidy Tidy the code label Nov 1, 2020
@CsatiZoltan CsatiZoltan self-assigned this Nov 1, 2020
@CsatiZoltan CsatiZoltan added this to the Future milestone Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tidy Tidy the code
Projects
None yet
Development

No branches or pull requests

1 participant