InsightSoftwareConsortium / InsightSoftwareConsortium/ITKSphinxExamples
Use idiomatic Python throughout the examples
未关闭
- 主要语言
- Jupyter Notebook
- 星标
- 59
- 派生
- 70
- 平均合并
- 1 天 15 小时
- 30 天内合并 PR
- 12
描述
To improve example readability and improve familiarity to Pythonistas, we should use idiomatic Python throughout the examples. In the past we had tried to keep the C++ and Python similar, but it is evident that this is less useful than idiomatic Python that people will use in practice.
This means:
- Using `snake_case` instead of `camelCase` for variable names
- Not using type declarations, unless required
- Using the Pythonic functional interface to filters when possible
- Not hardcoding types or dimensions when possible
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。