Blog

How to if?

Jan Vermeir

Updated April 30, 2025
1 minute

While trying to upgrade my programming skills, I ran into a new-fangled way to do ifs. The example below is taken from code that gets a value for a property of a class. A value may or may not be set and if it isn't the code should use a default. You can find the code here [on Github]. So my classic go-to solution was to use an if statement like this: [more...]

Written by

Jan Vermeir

Developing software and infrastructure in teams, doing whatever it takes to get stable, safe and efficient systems in production.

Contact

Let’s discuss how we can support your journey.