Top all-time · #3108
Applied Go
Personal blog · appliedgo.netprogramming
Applied Go is a personal blog at appliedgo.net about programming. Since 2016, 25 different Hacker News readers have linked it 32 times, most often “Golang: Who needs generics?”. It is still writing: the last post was on 2025-03-03, and you can follow it by feed.
Too few sampled comments (6) to say how often HN recommends it.?
Why HN links it
HN readers link Applied Go's posts on Go generics workarounds and CSRF defences as references. The comments cite them without judging the writing.
Summarised by Claude from a sample of 6 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Go beyond the Go tutorials.
Most-linked posts?
- Golang: Who needs generics?8 people · 8 mentions · first linked 2016-07-22
- Slow down your code with goroutines3 people · 3 mentions · first linked 2019-04-14
What Hacker News says?
Well, for one, you can learn from other people's mistakes, which is better than learning from your own, because then you don't have to feel the pain. Go is a deserving target for this criticism because the language itself deliberately made a lot of the mistakes other language communities made and learned from, like weak typing[1] and naive garbage collection algorithms. Literally if you opened an undergraduate textb…
Comment linking /generics/
on “Things I wished more developers knew about databases”Submitted Perceptrons – the most basic form of a neural network as a story · 116 points
HN discussionA few more links that I collected recently on the topic https://github.com/golang/go/issues/73626 https://developer.mozilla.org/en-US/docs/Web/Security/Attack... https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/... https://web.dev/articles/fetch-metadata https://appliedgo.net/spotlight/csrf-dont-mess-with-my-site/ And some older ones that focused on Origin header rather than sec-fetch-* https://www.sjoerd…
Comment linking /spotlight/csrf-dont-mess-with-my-site/
on “Cross-Site Request Forgery”Submitted Text-Based User Interfaces in Go – Beef up your commandline tools as a story · 20 points
HN discussionThere's also always a package to handle that issue. [0][1][2] As well as other options. [3] I like to imagine that the "no generics, no way" crowd would never use the stairway in their building if the elevator broke down. [0] https://github.com/clipperhouse/gen [1] https://github.com/cheekybits/genny [2] https://github.com/cosmos72/gomacro [3] https://appliedgo.net/generics/
Comment linking /generics/
on “Go 2018 Survey Results”Submitted Slow down your code with goroutines as a story · 6 points
HN discussion>Besides, I think think it even actually _is_ idiomatic since you used reflection. https://appliedgo.net/generics/ See point 4 and 5. It is idiomatic.
Comment linking /generics/
on “From Java to Go, and Back Again (2016)”Submitted Building a Binary Search Tree in Go as a story · 6 points
HN discussionYou're right. Although a lot of people have written about this limitation in the language. Applied Go has a tutorial on how to use arrays, slices, or maps as a workaround for many generics need cases, much like it looks like Ply does. https://appliedgo.net/generics/
Comment linking /generics/
on “A Mini-Guide to Google Golang and Why It's Perfect for DevOps”Submitted Rapid AWS Lambda Development with Go and Mantil as a story · 3 points
HN discussionAuthor is still early in their exploration and has some definite mistakes in here. Probably the biggest one is around the error handling, thinking that the only way to interact with an error is through the error interface itself. That is intended as a baseline interaction, a fallback for when nothing else is appropriate, such as just slamming an error into a log. If you want to interact with specific errors, you sho…
Comment linking /spotlight/sum-types-in-go/
on “An Honest Review of Go”Submitted MapReduce – munching through Big Data (2016) as a story · 3 points
HN discussionSubmitted Futures in Go, no package required as a story · 3 points
HN discussionSubmitted Create PDFs from Go as a story · 3 points
HN discussionSubmitted Golang: Who needs generics? as a story · 3 points
HN discussionSubmitted GoLang: Who needs generics? Use ... instead as a story · 3 points
HN discussionSubmitted WaitGroup.Go() in 1.25 as a story · 2 points
HN discussionSubmitted From CLI to Homebrew Using Golang as a story · 2 points
HN discussionSubmitted Instant Go: Edit and run Go code right in the browser, no back end required as a story · 2 points
HN discussionSubmitted Inverse Kinematics: moving a robotic arm (and why it's harder than it seems) as a story · 2 points
HN discussionSubmitted Who needs generics? Use...instead as a story · 2 points
HN discussionSubmitted Slow down your code with goroutines as a story · 2 points
HN discussionSubmitted Slow down your code with goroutines as a story · 2 points
HN discussionSubmitted Go stdlib-only Flow-Based Programming (no 3rd party libs) as a story · 2 points
HN discussionSubmitted Who needs generics? Use instead as a story · 2 points
HN discussionSubmitted Continuous refresh, or: how to keep your API client authorized as a story · 1 points
HN discussionSubmitted I used Go to make my radio auto-switch to AUX-IN when a Raspi plays music as a story · 1 points
HN discussionSubmitted How I turned a binary search tree into a generic data structure with go2go as a story · 1 points
HN discussionSubmitted Go slices are not dynamic arrays as a story · 1 points
HN discussionSubmitted Show HN: Control a Digispark with a few lines of Golang code as a story · 1 points
HN discussion