A little frustrated by the lack of types #806
Replies: 3 comments
-
Unsure what do you mean .... Yes there could be always a better documentation, but all arguments for the specific function are at least shortly documented: https://www.pygimli.org/pygimliapi/_generated/pygimli.meshtools.html#pygimli.meshtools.createCube .. probably you can scroll up in your editor popup to see them too? How should it look to fits better for you? Or do you mean this: https://docs.python.org/3/library/typing.html ? |
Beta Was this translation helpful? Give feedback.
-
I was mostly referring to type hinting for return types of methods. It makes a world of difference for code legibility.
Export VTK (which is at least partially defined in the source, is nowhere to be seen in the user-facing side. Even incomplete type hinting is better than none |
Beta Was this translation helpful? Give feedback.
-
I guess you mean type hinting according to PEP484 (introduced with Python 3.5) like
|
Beta Was this translation helpful? Give feedback.
-
This library is incredibly powerful, but the lack of type hinting makes debugging horrific.
Commented return types are not a suitable replacement.
The core of this library is strongly typed, and does no service by pretending otherwise
Beta Was this translation helpful? Give feedback.
All reactions