#go-language

[ follow ]
fromHackernoon
4 months ago

Generic Functions on Slices: A Guide to Help You Understand | HackerNoon

The slices package enhances slice manipulation by using generics, allowing less code redundancy and clearer slice operations.
Scala
fromHackernoon
4 months ago

Generic Alias Types: Why We Need Them | HackerNoon

Generic alias types simplify refactoring in Go by supporting incremental updates to package references.
fromInfoQ
5 months ago

Go 1.24 Brings Generic Type Aliases, Weak Pointers, Improved Finalizers, and More

Go 1.24 introduces generic type aliases, allowing more readability and conciseness. For example, type ComparableVector[T comparable] = Vector[T] enhances flexibility in type specification.
Scala
JavaScript
fromInfoQ
6 months ago

Modeling Complex Data Structure in Golang Using Pointers, References, and Reverse Indices

Go pointers and references are essential for building efficient systems in the Go language.
Understanding pointers can be complicated, but practical projects can aid learning.
[ Load more ]