Although PHP Enumerations are meant to provide an easy and elegant solution to work with a predefined set of values, these classes are often misused, resulting in a lack of consistency due to the introduction of all sorts of methods that increase their complexity. In this article, we are going to go through some practices (both good and bad) with the goal of clarifying the understanding of these types of objects to help you build a more resilient and consistent codebase.
PHP
The SaaS apocalypse started in October
Using Stripe data across about 181,000 subscription businesses, Mack Grenfell argues the SaaS slowdown became visible in October, when median revenue growth turned negative across most peer groups. He suggests the bigger problem is fewer Read more…