Top all-time · #16901
Gopher Guides
Company blog · gopherguides.com/articlesprogramming
Gopher Guides is the company blog at gopherguides.com, writing about programming. Since 2020, 4 different Hacker News readers have linked it 10 times. No feed was found, so read it on the site itself.
Too few sampled comments (2) to say how often HN recommends it.?
Why HN links it
HN commenters link a Gopher Guides post on test cleanup in Go 1.14, covering testing.(*T).Cleanup, which lets test helpers register their own cleanup functions. No comment judges the writing itself.
Summarised by Claude from a sample of 2 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Instructor led enterprise training - Training from Community Experts. Fortune 500 companies trust us to accelerate their teams and projects.
What Hacker News says?
Buried in the notes is a small, but useful addition to the testing package that allows your test helpers to register their own cleanup functions (testing.(*T).Cleanup). I wrote a blog post discussing it in depth here: https://www.gopherguides.com/articles/test-cleanup-in-go-1-1...
Comment linking /articles/test-cleanup-in-go-1-14/
on “Go 1.14 release notes”Submitted Leveraging the Go Type System as a story · 96 points
HN discussionIt's not a great example. I think it's trying to show a mapping operation for a generic container where the container values are of one type and the mapping function is allowed to return a container with values of a different type. Without generics, something along the lines of the following (with runnable example at https://go.dev/play/p/KHBI1uAhbO0 ): type MySlice []int // Map maps from a slice of ints to a slice…
Comment linking /articles/golang-generic-methods
on “Go 1.27 Interactive Tour”Submitted The New Slices Package in Go as a story · 2 points
HN discussionSubmitted Embracing the Go Type System as a story · 2 points
HN discussionSubmitted Why Your Team Still Needs Go Training in the Age of AI as a story · 1 points
HN discussionSubmitted Exploring “Io/Fs” to Improve Test Performance and Testability in Go as a story · 1 points
HN discussionSubmitted Where and When to Use Iota in Go as a story · 1 points
HN discussionSubmitted What's in a Name? – Keynote by Dave Cheney at Go Get Community Conference as a story · 1 points
HN discussionSubmitted What’s New in Go 1.14: Test Cleanup as a story · 1 points
HN discussion