Code quality

97 posts
Pulse: Episode 11 – On technical debt with Jonas Drieghe

Pulse: Episode 11 – On technical debt with Jonas Drieghe

Listen to this new Pulse podcast episode on technical debt where Jonas and Andreas discuss managed vs unmanaged debt, legacy code, code rot and give some tips on how to work with technical debt in any given circumstances.

How to do a software rewrite

How to do a software rewrite

Should you start from scratch or invest time to refactor your application? * The concepts explained: software rewrite, starting from scratch, and refactoring * When should you create software from scratch? * Making the decision: How to decide to rewrite or refactor? * How to get started with refactoring? Software rewrite vs. starting from...

Adding GitHub annotations with PHP-CS-Fixer

Adding GitHub annotations with PHP-CS-Fixer

Have you ever seen an error message like the one above before? If you’ve used tools such as PHPStan alongside GitHub Actions then it might be familiar to you. GitHub refers to these as annotations. They are used to add an error message (on the offending line in a...

On Technical debt - What is it, how is it created, what types of technical debt are there, how to avoid tech debt, and how to fix it?

On Technical debt - What is it, how is it created, what types of technical debt are there, how to avoid tech debt, and how to fix it?

What is technical debt? How can you fix technical debt and what is the best approach to avoid technical debt?

Fixing cookiebot bug by not fixing cookiebot

Fixing cookiebot bug by not fixing cookiebot

I want to start with a small disclaimer that I don’t fully understand what exactly went wrong and why the things we did fixed the problem. I’m pretty sure I would be able to find out by staring long enough at very complex code, but at some point,...

Improving performance and reliability of client's core business component using a simple running total

Improving performance and reliability of client's core business component using a simple running total

A client project I work on required some processing, scheduled nightly at 2am. I’m a curious creature, by nature, so I was eager to learn what keeps the queues busy for up to 30 minutes in the middle of the night. It must have been something important! The business...

Performance tips for Laravel

Performance tips for Laravel

Recently, we were looking into some Laravel PHP8 performance issues we were experiencing on one screen of a web application. This screen would show an aggregation of several statistics across the application and would include things like: * The total number of tickets, grouped by their status (open, closed, …) * The total...

Merging 4 codebases with help of Rector

Merging 4 codebases with help of Rector

The set up When developing software, you sometimes come up with ideas that in the end don’t really work out. Depending on the idea and on the time spent finding out it’s a bad idea, it can be challenging to turn back the changes. One of those ideas...

Adding temporary code

Adding temporary code

We all had to do it at some point. We’ve all been in the situation where we needed to add some code — maybe a CLI command — just for a one-off operation. Or maybe the code would be needed just for the next month. We promise ourselves to get back...

You’ve successfully subscribed to madewithlove
Welcome back! You’ve successfully signed in.
Great! You’ve successfully signed up.
Success! Your email is updated.
Your link has expired
Success! Check your email for magic link to sign-in.