InsightSoftwareConsortium / InsightSoftwareConsortium/ITKSphinxExamples

Use idiomatic Python throughout the examples

Abierto
#199 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Jupyter Notebook
Estrellas
59
Forks
70
Merge medio
1 d 15 h
PR fusionados (30 d)
12

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.