InsightSoftwareConsortium / ITKSphinxExamples

Cookbook examples for the Insight Toolkit documented with Sphinx
https://examples.itk.org
Apache License 2.0
53 stars 63 forks source link

Use idiomatic Python throughout the examples #199

Open thewtex opened 3 years ago

thewtex commented 3 years ago

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:

jhlegarreta commented 3 years ago

:+1: to this.

Using snake_case instead of camel_case for variable names

@thewtex Probably?

Using snake_case instead of camelCase for variable names

thewtex commented 3 years ago

Using snake_case instead of camelCase for variable names

Good catch -- corrected.