Generics are a programming language concept. In short, they allow you to write typed code without being specifically linked to a particular type. Many languages already support generics more or less natively: Java, C#, Go, Rust Typescript… PHP doesn’t, but thanks to its community and ecosystem, it’s still possible to use them. Let’s take a look at how and why.

Comments

Comments are closed.

-

-