Articles

One idea, one article

Wed Oct 23 2024

When it comes to writing, trying to cram too many ideas into one article is like stuffing 10 clowns into a tiny car—chaos! By focusing on one clear idea, you keep your readers engaged and your message crisp.

When does the TDD approach make sense?

Thu Oct 17 2024

To do TDD or not to do TDD? That is the question. Personally I never bought into TDD practices. But I always use TDD when I need to develop a feature that will require me to test a lot of different variants and edge cases.

Code refactoring: what is it and why should you do it

Thu Mar 28 2024

Refactoring is like a makeover for your code, keeping it tidy and efficient without changing what it does. It's essential for code hygiene, making it easier to read, maintain, and even boosting performance. Think of it as paying off technical debts and adding a fresh coat of paint to your code's home.

Use EXISTS instead of COUNT > 0 when checking if records exist

Wed Feb 14 2024

When checking for the existence of SQL records, it's more efficient to use the exists method instead of count. The exists method breaks the loop as soon as it finds the first record, making it more performant.

Using Tailwind CSS classes in markdown

Tue Oct 31 2023

In order to speed up article publishing I had to find a solution to use Tailwind CSS classes in markdown content. This article describes two different solutions.

Why I Migrated to Astro from Gatsby

Thu Oct 12 2023

Read about why I decided to migrate my website to Astro. What I'm liking and what I'm not liking as much.

Page 1 of 6