Articles
Why I Hate Black Fridays: A Developer's Thurs-dread Manifesto
A developer's survival guide to the chaotic Thursday before Black Friday, where marketing creativity meets software implementation madness.
One idea, one article
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?
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
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
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
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.