As a relatively new ROS developer, I find myself rewriting a lot of my work as I learn “better” / “standard” / “common” ways of doing things. The latest examples include
- writing a hardware interface for PWM drive motors
- structuring python code examples for students
On the 2nd topic I went looking for the “best practice”. I found the PyStyleGuide. Then I went to look for an example and when I look at the tutorials, they do not follow the PyStyleGuide.
I can imagine much effort has gone into the tutorials. There is probably solid reasoning for they way the code has been structured.
It would help noob developers like myself if there was at least one preference in the PyStyleGuide to a real example. Is there one that people feel is a good example? Might it be referenced from PyStyleGuide?