Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于代码的规范问题 #264

Closed
Xuanwo opened this issue Apr 23, 2014 · 5 comments
Closed

关于代码的规范问题 #264

Xuanwo opened this issue Apr 23, 2014 · 5 comments

Comments

@Xuanwo
Copy link
Contributor

Xuanwo commented Apr 23, 2014

我觉得可以参考一下这个
https://github.com/dead-horse/node-style-guide

我们也应该拿出一份详细的代码规范出来。

@julycoding
Copy link
Owner

不错,咱们的确需要一份属于我们自己的详细代码规范出来。

@alvas
Copy link
Contributor

alvas commented Apr 24, 2014

这个是google c style guide,示例代码可以借鉴一下。

http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml

@julycoding
Copy link
Owner

咱们最终在书上呈现的代码为C代码,但咱们确实可以考虑整理一份C代码规范出来。

@DelightRun
Copy link

还应该考虑详细的注释规范,为程序加上详细的、最好符合doxygen格式的注释

@Boshen Boshen closed this as completed Jun 12, 2014
@julycoding
Copy link
Owner

关于代码规范的问题,可转移至此讨论:#81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants