Russ Cox | 00fd2f6 | 2018-08-23 15:11:30 -0400 | [diff] [blame] | 1 | # Go 2 Draft Designs |
| 2 | |
| 3 | As part of the Go 2 design process, we’ve |
| 4 | [published these draft designs](https://blog.golang.org/go2draft) |
| 5 | to start community discussions about three topics: |
| 6 | generics, error handling, and error value semantics. |
| 7 | |
| 8 | These draft designs are not proposals in the sense of the [Go proposal process](https://golang.org/s/proposal). |
| 9 | They are starting points for discussion, |
| 10 | with an eventual goal of producing designs good enough to be turned into actual proposals. |
| 11 | |
| 12 | Each of the draft designs is accompanied by a “problem overview” (think “cover letter”). |
| 13 | The problem overview is meant to provide context; |
| 14 | to set the stage for the actual design docs, |
| 15 | which of course present the design details; |
| 16 | and to help frame and guide discussion about the designs. |
| 17 | It presents background, goals, non-goals, design constraints, |
| 18 | a brief summary of the design, |
| 19 | a short discussion of what areas we think most need attention, |
| 20 | and comparison with previous approaches. |
| 21 | |
| 22 | Again, these are draft designs, not official proposals. There are not associated proposal issues. |
| 23 | We hope all Go users will help us improve them and turn them into Go proposals. |
| 24 | We have established a wiki page to collect and organize feedback about each topic. |
| 25 | Please help us keep those pages up to date, including by adding links to your own feedback. |
| 26 | |
| 27 | **Error handling**: |
| 28 | |
| 29 | - [overview](go2draft-error-handling-overview.md) |
| 30 | - [draft design](go2draft-error-handling.md) |
| 31 | - [wiki feedback page](https://golang.org/wiki/Go2ErrorHandlingFeedback) |
| 32 | |
| 33 | **Error values**: |
| 34 | |
| 35 | - [overview](go2draft-error-values-overview.md) |
| 36 | - [draft design for error inspection](go2draft-error-inspection.md) |
| 37 | - [draft design for error printing](go2draft-error-printing.md) |
| 38 | - [wiki feedback page](https://golang.org/wiki/Go2ErrorValuesFeedback) |
| 39 | |
| 40 | **Generics**: |
| 41 | |
| 42 | - [overview](go2draft-generics-overview.md) |
| 43 | - [draft design](go2draft-contracts.md) |
| 44 | - [wiki feedback page](https://golang.org/wiki/Go2GenericsFeedback) |
| 45 | |