Talk in English - US at PHP TEK 2025
Track Name:
Wrigley Field
Short URL: https://joind.in/talk/9519a
(QR-Code (opens in new window))
Type management has become a fundamental pillar for the quality of PHP code: static analysis makes permanent use of it. However, the design of a type system remains anecdotal: at best, it is often an organic effort, based on a few simple rules. In this conference, we will explore good typing practices in PHP. We will put a particular emphasis on the notions of code validation and completeness, through concrete examples. You will discover a methodical approach to define and organize types in a consistent way. This conference is aimed at developers of all levels wishing to take a step back and urbanize a growing number of types.
Comments
Please login to leave a comment
Thought provoking talk. Reviewing code from the type perspective (ignoring function names, etc) is presented as a mindful conversation.
This talk has *a lot* of information, and Damien obviously understands the topic deeply. That being said, this talk is very academic, something I'd expect in a university course. Several suggestions (like "don't use void") is from a type system point of view, but at least a few people in the audience were like "wait, then what should I use when I don't need to return things?"
The examples were rather abstract (e.g. class A, class B, etc.) which made it difficult to follow along with the more complex examples, but there was enough context clues that I didn't get totally lost.
One suggestion I might offer is to explain that, for example, "M 24" refers to Method #24; it's a reasonable abbreviation, but not something I've seen before.
Thank you for the talk! I got a little confused with some of the examples but I think that was a "me" problem.
Very insightful talk, I have never encountered a methodology focused around analysis of class constructor dependencies to determine complexity and "gravity" of a given type/class. Will be very curious to follow the potential open-source availability of the tool which Damien developed as part of Exakat in the future. I found the visuals to be helpful to follow the various concepts and gotchas shared. Appreciated the level of technical depth!
Entertaining talk with a heavier focus on theory. Some good audience engagement with tricky questions. I'm not fully convinced on some of the takeaways, but it made me think critically through current techniques.
great talk
There was a lot of great information in this session, presented in a way I hadn’t thought to consider before. A very useful perspective.
It was a little difficult to follow at times, because it is so complex and Damien is such a subject matter expert trying to cover so much information quickly.
I had a lot of good takeaways in how I should examine how we are typing things.