mirror of
https://github.com/golang/go
synced 2024-11-24 21:10:04 -07:00
make it more explicit that design discussions should happen before code reviews
R=rsc CC=golang-dev https://golang.org/cl/180075
This commit is contained in:
parent
59a3cae402
commit
96ee38bfc2
@ -12,10 +12,11 @@ It assumes you have installed Go using the
|
|||||||
<p>
|
<p>
|
||||||
Before embarking on a change to an existing
|
Before embarking on a change to an existing
|
||||||
package or the creation of a new package,
|
package or the creation of a new package,
|
||||||
it's a good idea to send mail to the <a href="http://groups.google.com/group/golang-nuts">mailing list</a>
|
be sure to send mail to the
|
||||||
|
<a href="http://groups.google.com/group/golang-nuts">mailing list</a>
|
||||||
to let people know what you are thinking of doing.
|
to let people know what you are thinking of doing.
|
||||||
Doing so helps avoid duplication of effort and
|
Doing so helps avoid duplication of effort and
|
||||||
enables discussions about design before much code
|
enables discussions about design before any code
|
||||||
has been written.
|
has been written.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -11,6 +11,29 @@ have <a href="code.html">written and tested your code</a>.
|
|||||||
see <a href="gccgo_contribute.html">Contributing to gccgo</a>.)
|
see <a href="gccgo_contribute.html">Contributing to gccgo</a>.)
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<h2 id="Design">Discuss your design</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
The project welcomes submissions but please let everyone know what
|
||||||
|
you're working on if you want it to become part of the main repository.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Before undertaking to write something new for the Go project, send
|
||||||
|
mail to the <a href="http://groups.google.com/group/golang-nuts">mailing
|
||||||
|
list</a> to discuss what you plan to do. This gives everyone a
|
||||||
|
chance to validate the design, helps prevent duplication of effort,
|
||||||
|
and ensures that the idea fits inside the goals for the language
|
||||||
|
and tools. It also guarantees that the design is sound before code
|
||||||
|
is written; the code review tool is not the place for high-level
|
||||||
|
discussions.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
In short, send mail before you code.
|
||||||
|
And don't start the discussion by mailing a change list!
|
||||||
|
</p>
|
||||||
|
|
||||||
<h2 id="Testing">Testing redux</h2>
|
<h2 id="Testing">Testing redux</h2>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
Reference in New Issue
Block a user