<div dir="ltr">Hi everyone,<div><br></div><div><p style="margin-bottom:16px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px;margin-top:0px!important">I&#39;m reading the source code of <code style="font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:11.8999996185303px;padding:0.2em 0px;margin:0px;border-radius:3px;background-color:rgba(0,0,0,0.0392157)">JdeRobot</code> and wondering if we got a common programming style guide or coding conventions? I do find <a href="http://jderobot.org/Jderobot-FAQ#Programming_style" style="color:rgb(65,131,196);text-decoration:none;background:transparent">here</a>[1] is a <code style="font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:11.8999996185303px;padding:0.2em 0px;margin:0px;border-radius:3px;background-color:rgba(0,0,0,0.0392157)">Programming Style</code> section, but not talking too much except for<code style="font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:11.8999996185303px;padding:0.2em 0px;margin:0px;border-radius:3px;background-color:rgba(0,0,0,0.0392157)">Doxygen</code>.</p><p style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px">For better collaboration, the coherent of coding conventions are important, especially for new developers trying to help and contribute source code.</p><p style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px">I find two good references and hopefully we can have some discussions, then come out with our own<code style="font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:11.8999996185303px;padding:0.2em 0px;margin:0px;border-radius:3px;background-color:rgba(0,0,0,0.0392157)">JdeRobot Programming Style and Coding Conventions</code> according to the existed code base. Maybe also do some code refactoring.</p><p style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px">The references are <a href="https://google-styleguide.googlecode.com/svn/trunk/cppguide.html" style="color:rgb(65,131,196);text-decoration:none;background:transparent">Google C++ Style Guide</a>[2] and <a href="http://geosoft.no/development/cppstyle.html" style="color:rgb(65,131,196);text-decoration:none;background:transparent">C++ Programming Style Guidelines</a>[3]. They mainly cover<code style="font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:11.8999996185303px;padding:0.2em 0px;margin:0px;border-radius:3px;background-color:rgba(0,0,0,0.0392157)">C++</code>, we can also make adaptions to <code style="font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:11.8999996185303px;padding:0.2em 0px;margin:0px;border-radius:3px;background-color:rgba(0,0,0,0.0392157)">Python</code> and <code style="font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:11.8999996185303px;padding:0.2em 0px;margin:0px;border-radius:3px;background-color:rgba(0,0,0,0.0392157)">Java</code>, etc.</p><p style="margin-top:0px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px;margin-bottom:0px!important">For convenience of tracking and discussion, I also opened an issue on Github[4].</p><p style="margin-top:0px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px;margin-bottom:0px!important"><br></p><p style="margin-top:0px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px;margin-bottom:0px!important">Looking forward to your comments!!!</p><p style="margin-top:0px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px;margin-bottom:0px!important"><br></p><p style="margin-top:0px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px;margin-bottom:0px!important">Cheers,<br>Lihang</p><p style="margin-top:0px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px;margin-bottom:0px!important"><br></p><p style="margin-top:0px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px;margin-bottom:0px!important">[1] <a href="http://jderobot.org/Jderobot-FAQ#Programming_style">http://jderobot.org/Jderobot-FAQ#Programming_style</a></p><p style="margin-top:0px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px;margin-bottom:0px!important">[2] <a href="https://google-styleguide.googlecode.com/svn/trunk/cppguide.html">https://google-styleguide.googlecode.com/svn/trunk/cppguide.html</a></p><p style="margin-top:0px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px;margin-bottom:0px!important">[3] <a href="http://geosoft.no/development/cppstyle.html">http://geosoft.no/development/cppstyle.html</a></p><p style="margin-top:0px;color:rgb(51,51,51);font-family:&#39;Helvetica Neue&#39;,Helvetica,&#39;Segoe UI&#39;,Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px;margin-bottom:0px!important">[4] <a href="https://github.com/RoboticsURJC/JdeRobot/issues/22">https://github.com/RoboticsURJC/JdeRobot/issues/22</a></p><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div style="font-family:宋体;font-size:14px;line-height:21px"><span style="font-size:10.5pt">Lihang Li<br>National Laboratory of Pattern Recognition (NLPR)<br>Institute of Automation, Chinese Academy of Sciences (IACAS)<br>95 Zhongguancun East Road<br>Beijing 100190, CHINA<br>Tel: <a value="+8613811582143" style="color:rgb(17,85,204)">+86-13811582143</a></span></div><div style="font-family:宋体;font-size:14px;line-height:21px"><span style="font-size:10.5pt">Website: <a href="http://hustcalm.me/" style="color:rgb(17,85,204);margin-bottom:0px;margin-top:0px" target="_blank">http://hustcalm.me</a></span></div><div style="font-family:宋体;font-size:14px;line-height:21px">GoogleGroups:<a href="https://groups.google.com/forum/?hl=zh-CN#!forum/open-cas" target="_blank">https://groups.google.com/forum/?hl=zh-CN#!forum/open-cas</a></div></div></div>
</div></div>