Ask PHP developers which big feature they wished PHP had and many would say generics. Generics offer additional type checking that reduces the chances of bugs. Hopefully one day they'll be implemented at language level but what if we want them now? This talk starts with a deep delve into generics and the benefits of them. We'll then look at how existing static analysis tools can be configured to (almost) give us generics in PHP now.

Comments

Comments are closed.