News for hackers. Stuff that matters.
Re:Good-bye core types; Hello Go as we know and love it by divan on Wednesday March 26, 2025 @07:14PM (#43488582)
I’ve been using Go since shortly after it got Windows support. I’ve used it across both small and large codebases — for tooling, libraries, fun experiments, serious side projects, and as the main language for backend systems. I even used it on the frontend with GopherJS. Still use it daily.

Since generics were introduced in Go 1.18, I’ve used them exactly zero times. I’ve had zero need for them. I still haven’t encountered generics in any of the real-world code I work with — and honestly, I’ve dreaded the day I’d see something like `func Foo[K comparable, V any, R any, F ~func(K, V) R](m map[K]V, f F) map[K]R {` That’s exactly the kind of code I try to avoid — unless I plan to replace every developer with an AI.

There are no comments on this comment yet.