Style guide for OpenTurbine #125
faisal-bhuiyan
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Coding style in OpenTurbine
What is code style? It is how we format our code, name the variables, decide when and how to write comments etc. It’s all the stuff the compiler doesn’t care about, however us, as humans reading the code, care a lot about. As the OpenTurbine codebase and the number of developers are expanding, it is a good time to deliberate on this and discuss the style-related choices to maintain consistency.
C++ is a mature language and there exist several carefully crafted style guides out there. Rather than invest a lot of time and effort into developing something from scratch, we have been taking advantage of the style guide developed by Google for a couple reasons
Next steps
Feel free to bring up any stylistic choice related discussion as comments to this post. My opinion is to add a brief section on coding style to the OpenTurbine developer's guide summarizing the discussion here.
Beta Was this translation helpful? Give feedback.
All reactions