Menu

#GenEricS

14 posts

Feed·
14 of 14 posts
"Generic Methods in Go 1.27"
🖼️
0

"Generic Methods in Go 1.27"

Hacker News·about 2 months ago
#G5g5nlKg

"An explanation of generic methods in Go, covering method-level type parameters and why dynamic dispatch prevents them from being declared inside interfaces."

15s
Read More
Java Generics, Type Erasure, and a conceptual idea: reified generics as a first-class citizen?
🖼️
0

Java Generics, Type Erasure, and a conceptual idea: reified generics as a first-class citizen?

DEV Community·Luis Vasquez·5 months ago
#xrBy5Wfi
#java#jdk#generics#programming#type#class

From Dev.to - java: Java Generics, Type Erasure, and a conceptual idea: reified generics as a first-class citizen?

15s
Read More
The maps Stdlib in Go 1.21+: 8 Functions That Replace Half Your Map Helpers
🖼️
0

The maps Stdlib in Go 1.21+: 8 Functions That Replace Half Your Map Helpers

DEV Community·Gabriel Anhaia·5 months ago
#DbH9IB7c
#go#stdlib#generics#backend#maps#keys

Go's maps stdlib package: 8 functions that delete handwritten helpers. Keys/Values/Clone/Copy/DeleteFunc/Equal + the iter.Seq trap.

15s
Read More
We Killed `interface{}` From a Go Codebase. Here's What Replaced It
🖼️
0

We Killed `interface{}` From a Go Codebase. Here's What Replaced It

DEV Community·Gabriel Anhaia·5 months ago
#gADqVoUS
#bucket#go#generics#refactoring#type#string

200+ uses of any in one Go codebase, three patterns under the hood. Generics, small consumer-side interfaces, and typed structs replaced almost all of it.

15s
Read More