[ros-users] [Discourse.ros.org] [general] Applying best practices to tutorials (or having a best practices example)?

suforeman ros.discourse at gmail.com
Fri Jan 13 15:41:00 UTC 2017

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

1. writing a hardware interface for PWM drive motors
2. 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?

[Visit Topic](https://discourse.ros.org/t/applying-best-practices-to-tutorials-or-having-a-best-practices-example/1108/1) or reply to this email to respond.

More information about the ros-users mailing list