Do you really need OOP?

Before throwing down all those classes that aren’t adding anything, ask yourself if you really need Object Oriented Programming (OOP).

In most cases, Classes were a way to add namespacing and encapsulate code prior to PHP 5.3.

Unfortunately, this has led to a ‘learn-by-example’ where most everyone still uses classes, and they aren’t quite sure why.

Really re-examine the architecture of your code and see if it could stand to be de-‘class’-ified.

Stripping away classes and just using functions allows for code that reduces side effects and is easier to follow.

In this talk Aaron will cover ways to break free from this recurring paradigm of class based coding. Write code that reduces side effects and is easier to follow!

Speaker