This page links to prior discussion on various topics.
The page complements the official 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.
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.
See https://github.com/golang/go/issues/11344#issuecomment-117862884
TODO
Rejected, see https://github.com/golang/go/issues/9367#issuecomment-143128337
Rejected, see discussion in https://github.com/golang/go/issues/17058
Rejected, see https://github.com/golang/go/issues/7892#issuecomment-66094282
Rejected, see https://github.com/golang/go/issues/17959 https://github.com/golang/go/issues/18388#issuecomment-268315634
Rejected, see https://github.com/golang/go/issues/16225
Rejected, see https://github.com/golang/go/issues/15507
Rejected.
Experience in large projects has shown that warnings pile up until people ignore all warnings, so warnings only add noise and no value (or are actively harmful in that they hide bugs). See https://go.dev/doc/faq#unused_variables_and_imports
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.