|
|
|
|
|
by bitcraft
2924 days ago
|
|
I don’t like the added burden of importing types in order to use them. So far, I’ve relied on pycharm’s excellent static analysis and docstrings to add type hints. One huge pain point that about C++ are header files and maintaining two source files for related code. Python stub files really reduce flexibility when refactoring or building new code. If you are adding types and maintaining two source files, the rapid development advantage of using python is nearly lost, and the type info is hidden while reviewing code, unless you have both files open. Not great for code review when the editor isn’t able to report type conflicts. |
|