DPC2019: Exception design - the art of making debugging more accurate - Szymon Szymański

Published: 01 July 2019
on channel: Dutch PHP Conference
244
5

"Exception design - the art of making debugging more accurate by Szymon Szymański

If you struggle while interpreting your colleague’s exceptions or you are creating them without much thought put into it, this is a talk for you.

Exceptions are perhaps the most neglected, after tests, element of object oriented applications - especially in the PHP environment. Many see them as an unpleasant necessity, yet in reality, they are here to help developers quickly pin down specific errors. Of course if they are well-designed. This talk is about how to properly design your exceptions with different circumstances.

This presentation is designed so that every developer will find it valuable, but beginner and intermediate listeners will get the most of out it.

What you'll learn from this talk:


What are the options to signal an exceptional situation in your application
How to fit them in your application circumstances, so they will be helpful
Caveats during exception design



About Szymon Szymański

Szymon Szymański is a PHP developer since 2010 with experience in developing enterprise-grade applications in distributed environments. Big enthusiast of intentions before tools. Current Head of PHP department in an outsourcing company where he manages and trains over 30 PHP developers. He likes to talk about entrepreneurship and solving problems trough code and good will.


This talk was given at the Dutch PHP Conference in 2019, organised and hosted by Ibuildings. Visit https://phpconference.nl or https://www.ibuildings.nl for more information."