PHP as a language can’t rapidly follow the needs of the developers: we should look at other languages that decided to build custom DSLs over existing platforms/languages like TypeScript or Elixir. Both languages were born for different reasons, solving different problems and having unique takeaways on developer communities at large.

After a rather short introduction to them, I will cover benefits and pitfalls of these concepts with some examples from our community on how and what would be solved easily with preprocessing to PHP like generics, immutable structures and so on.

There are already some initiatives building upon this idea but they are not being widely recognized and I would love to introduce you to them and some of my work as well (which I have done as proof of concepts).

Comments

Please login to leave a comment

This was a real eye opener on possibilities that stand behind transpiling. Talk definitely has my recommendation to be included in other conferences' lineups, although I'd rather see it in a smaller room with couple of (live) examples and more audience interaction.

Daniel Leech at 09:39 on 10 Nov 2019

Good talk to learn about the ways we can transpile PHP and learn about some interesting libraries.

The subject was not interesting. It was basically ideas on the future of PHP.. with nothing that can be used right now.

Interesting points of view with a lot of possibilities

Arnout Boks at 15:58 on 16 Nov 2019

Interesting talk that made me think about all the possibilities of transpiling in PHP.

I found the thread of the talk a bit difficult to follow though. It might be because I probably wasn't fully recovered from giving my own talk in the slot before, but I think the jumps back and forth between examples, theory and tools made this a bit harder. Perhaps reordering some content might help. The takeaway was also a bit unclear in my eyes, or at least (given the state of tooling and IDE support) slightly unsatisfactory.

Great delivery and stage presence.