Brad Fitzpatrick | 3fa3bf3 | 2017-01-04 12:36:56 -0800 | [diff] [blame] | 1 | # Prior Discussion |
| 2 | |
| 3 | ## Background |
| 4 | |
| 5 | This page links to prior discussion on various topics. |
| 6 | |
Brad Fitzpatrick | 11cb4e3 | 2017-01-04 13:31:03 -0800 | [diff] [blame] | 7 | The page complements the [official FAQ](https://golang.org/doc/faq). While the official FAQ contains things which are frequently asked and contains answers, this page contains things that have been repeatedly asked, but maybe not frequently, and only needs to link to one or more previous threads. Over time, these entries may graduate to entries in the official FAQ. |
Brad Fitzpatrick | 3fa3bf3 | 2017-01-04 12:36:56 -0800 | [diff] [blame] | 8 | |
Brad Fitzpatrick | 11cb4e3 | 2017-01-04 13:31:03 -0800 | [diff] [blame] | 9 | **Editors:** When editing this page, please don't change the titles of sections, as that breaks the #anchors in URLs. You can rearrange, though. Feel free to add entries at will. There is no requirement for code or English review here. |
Brad Fitzpatrick | 3fa3bf3 | 2017-01-04 12:36:56 -0800 | [diff] [blame] | 10 | |
| 11 | ## Asked Questions & Prior Discussion |
| 12 | |
| 13 | ### Panics on sends or closes of closed channel |
| 14 | |
| 15 | See https://github.com/golang/go/issues/11344#issuecomment-117862884 |
| 16 | |
| 17 | ### Thread-local, Goroutine-local storage |
| 18 | |
| 19 | TODO |
| 20 | |
as | 812535d | 2017-01-06 01:17:31 -0800 | [diff] [blame] | 21 | ### Add explicit int-to-bool conversions |
| 22 | |
| 23 | Rejected, see |
| 24 | https://github.com/golang/go/issues/9367#issuecomment-143128337 |
| 25 | |
Alberto Donizetti | 4c3a973 | 2017-01-05 01:37:43 +0100 | [diff] [blame] | 26 | ### Add mechanism to silence vet warnings |
| 27 | |
| 28 | Rejected, see discussion in https://github.com/golang/go/issues/17058 |
| 29 | |
| 30 | ### Add vet warning for unused function arguments |
| 31 | |
Alberto Donizetti | a307be3 | 2017-01-05 02:19:28 +0100 | [diff] [blame] | 32 | Rejected, see https://github.com/golang/go/issues/7892#issuecomment-66094282 |
| 33 | |
| 34 | ### Make go get more verbose / add a progress bar |
| 35 | |
| 36 | Rejected, see |
| 37 | https://github.com/golang/go/issues/17959 |
as | b852dd7 | 2017-01-06 00:51:17 -0800 | [diff] [blame] | 38 | https://github.com/golang/go/issues/18388#issuecomment-268315634 |
| 39 | |
| 40 | ### Shorten error handling / return sugar |
| 41 | |
| 42 | Rejected, see |
| 43 | https://github.com/golang/go/issues/16225 |
as | 0c676cb | 2017-01-06 01:08:38 -0800 | [diff] [blame] | 44 | |
| 45 | ### Support symlinks in go toolchain / environment variables |
| 46 | |
| 47 | Rejected, see |
| 48 | https://github.com/golang/go/issues/15507 |
as | 812535d | 2017-01-06 01:17:31 -0800 | [diff] [blame] | 49 | |
Minux Ma | e6d32ac | 2017-01-16 22:50:43 -0500 | [diff] [blame] | 50 | ### Make unused imports/variables a warning, not an error |
| 51 | |
| 52 | Rejected. |
| 53 | |
Minux Ma | 074ff8e | 2017-01-16 22:51:24 -0500 | [diff] [blame] | 54 | ### Add warnings to the Go compiler |
Minux Ma | e6d32ac | 2017-01-16 22:50:43 -0500 | [diff] [blame] | 55 | |
| 56 | Rejected. |
Mark Rushakoff | efc75b4 | 2017-02-09 08:49:42 -0800 | [diff] [blame] | 57 | |
| 58 | ### Weak references |
| 59 | |
| 60 | Unlikely to be added. See discussion at https://groups.google.com/forum/#!topic/golang-nuts/PYWxjT2v6ps, and https://groups.google.com/forum/?pli=1#!topic/golang-nuts/MMWXRANh0-g which points out that `sync.Pool` is a specific form of weak reference. |