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, using Symfony components as an example.
- Күн бұрын
Karim Pinchon: Generics (in PHP) @PHPConPL23
- Рет қаралды 174
Пікірлер: 1