blob: 739ffe02368c6f0c20529a56b4fd24d4b0fde145 [file] [log] [blame] [view]
Brad Fitzpatrick3fa3bf32017-01-04 12:36:56 -08001# Prior Discussion
2
3## Background
4
5This page links to prior discussion on various topics.
6
Brad Fitzpatrick11cb4e32017-01-04 13:31:03 -08007The 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 Fitzpatrick3fa3bf32017-01-04 12:36:56 -08008
Brad Fitzpatrick11cb4e32017-01-04 13:31:03 -08009**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 Fitzpatrick3fa3bf32017-01-04 12:36:56 -080010
11## Asked Questions & Prior Discussion
12
13### Panics on sends or closes of closed channel
14
15See https://github.com/golang/go/issues/11344#issuecomment-117862884
16
17### Thread-local, Goroutine-local storage
18
19TODO
20
as812535d2017-01-06 01:17:31 -080021### Add explicit int-to-bool conversions
22
23Rejected, see
24https://github.com/golang/go/issues/9367#issuecomment-143128337
25
Alberto Donizetti4c3a9732017-01-05 01:37:43 +010026### Add mechanism to silence vet warnings
27
28Rejected, see discussion in https://github.com/golang/go/issues/17058
29
30### Add vet warning for unused function arguments
31
Alberto Donizettia307be32017-01-05 02:19:28 +010032Rejected, see https://github.com/golang/go/issues/7892#issuecomment-66094282
33
34### Make go get more verbose / add a progress bar
35
36Rejected, see
37https://github.com/golang/go/issues/17959
asb852dd72017-01-06 00:51:17 -080038https://github.com/golang/go/issues/18388#issuecomment-268315634
39
40### Shorten error handling / return sugar
41
42Rejected, see
43https://github.com/golang/go/issues/16225
as0c676cb2017-01-06 01:08:38 -080044
45### Support symlinks in go toolchain / environment variables
46
47Rejected, see
48https://github.com/golang/go/issues/15507
as812535d2017-01-06 01:17:31 -080049
Minux Mae6d32ac2017-01-16 22:50:43 -050050### Make unused imports/variables a warning, not an error
51
52Rejected.
53
Minux Ma074ff8e2017-01-16 22:51:24 -050054### Add warnings to the Go compiler
Minux Mae6d32ac2017-01-16 22:50:43 -050055
56Rejected.
Mark Rushakoffefc75b42017-02-09 08:49:42 -080057
58### Weak references
59
60Unlikely 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.