on error resume next

Blog

Reducing unnecessary details in tests

Tests are the only documentation of your code that is provably correct. As such, they need to be easy to understand. For this reason, we need to pay attention not to include unnecessary details in our tests.

Never Good Enough

In this post, I try to put my feelings into words about how I constantly struggle to live up to my own unrealistic expectations. This post is for myself but I decided to put it out there in case it helps anyone else.

Renderless Blade Components

We can utilize render function inside Blade components to achieve similar effects to renderless components in Vue. This post shows how it's done and what the possible uses can be.

Refactoring Legacy Code - Nullable Constructor Parameters

Working with legacy code can be difficult. In order to do any non-trivial refactorings, we first need to get the code into a test harness. This post explores nullable constructor parameters as one technique to make legacy code just a bit more testable.

Functional Programming Principles in PHP – Functors

Trying to apply the concepts I learned while studying Haskell to PHP with various degrees of success. In this post I explore what an implemenation of a Functor could look like in PHP.

Understanding filterM

This post is my attempt at trying to understand Haskell's `filterM` function.