开源规则
1.不完整总比没有好 (1. Something incomplete is better than nothing at all)
If you have a piece of code and you think it is useful. Share it to the community, if this is a code snippet you can share in the form of a gist on github.
如果您有一段代码,并且您认为它很有用。 共享给社区,如果这是一个代码片段,您可以在github上以要点的形式共享。
Even if this is an incomplete peace of software put it on github. Maybe missing documentation, tests and code cleanup but share it anyway!
即使这是软件的不完全和平,也可以将其放在github上 。 也许会丢失文档,测试和代码清除,但还是要共享!
If this is only an idea, put it in aREADME file or post in to a blog.
如果仅是个主意,请将其放入自述文件或发布到博客中。
2.显式胜于隐式(老实) (2. Explicit is better than implicit (be honest))
Always include advices and notes in your project README or in code comments. If the code is incomplete and you are not sure if this is safe, please make it explicit to the community.
始终在项目自述文件或代码注释中包含建议和注释。 如果代码不完整,并且您不确定这样做是否安全,请向社区公开。
You can simply put CAUTION note:
您可以简单地提请注意:
“Use at your own risk” or “Untested alpha version do not use in prodution” notes on the project page.
项目页面上的“使用后果 自负”或“ 未经测试的Alpha版本请勿用于生产”注释。