CsatiZoltan / CristalX

Identification and analysis of polycrystalline microstructures
https://cristalx.readthedocs.io
GNU Lesser General Public License v3.0
6 stars 7 forks source link

Duck typing #35

Open CsatiZoltan opened 4 years ago

CsatiZoltan commented 4 years ago

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.