---
title: "Paweł Świątkowski (@katafrakt) | Hashnode"
description: "Elixir developer with Ruby past. Read the latest articles by Paweł Świątkowski on Hashnode."
url: "https://hashnode.com/@katafrakt"
---

@katafrakt

# Paweł Świątkowski

@katafrakt · Wrocław, Poland · Joined November 2018

Elixir developer with Ruby past

### [Chekhov's gun principle for testing](https://solid-dry-kiss.hashnode.dev/chekhovs-gun-principle-for-testing?utm_source=hashnode&utm_medium=feed)

It’s not an uncommon notion that writing tests is more of a storytelling task than a technical one. Most recently I encountered it in The Bike Shed podcast, but you can find blog posts and conference talks about it as well. And if it is a storytellin...

4 min read · [solid-dry-kiss.hashnode.dev](https://solid-dry-kiss.hashnode.dev/chekhovs-gun-principle-for-testing?utm_source=hashnode&utm_medium=feed)

[Nov 8, 2024](https://hashnode.com/posts/chekhovs-gun-principle-for-testing/672e68c8094dc61839e854c7)

### [Underrated pattern of an inline event dispatcher](https://solid-dry-kiss.hashnode.dev/underrated-pattern-of-an-inline-event-dispatcher?utm_source=hashnode&utm_medium=feed)

In the Events, event, events article I outlined three possible meanings of using the word "event" in the context of software architecture. Today I would like to dive a bit deeper into the third one – using events as a way to organize the code. We wil...

5 min read · [solid-dry-kiss.hashnode.dev](https://solid-dry-kiss.hashnode.dev/underrated-pattern-of-an-inline-event-dispatcher?utm_source=hashnode&utm_medium=feed)

[Mar 9, 2023](https://hashnode.com/posts/underrated-pattern-of-an-inline-event-dispatcher/6409e136207acae6efba58ab)

### [Events, events, events](https://solid-dry-kiss.hashnode.dev/events-events-events?utm_source=hashnode&utm_medium=feed)

When talking about software architecture in a web development context most of the time it will come up to discuss using events. In fact, I think it is the most commonly suggested "upgrade" from naive CRUD architecture to something better grasping the...

5 min read · [solid-dry-kiss.hashnode.dev](https://solid-dry-kiss.hashnode.dev/events-events-events?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/events-events-events/63e169a4e5422df2b8efd0b9) [Feb 6, 2023](https://hashnode.com/posts/events-events-events/63e169a4e5422df2b8efd0b9)

### [Purity injection in Elixir](https://solid-dry-kiss.hashnode.dev/purity-injection-in-elixir?utm_source=hashnode&utm_medium=feed)

If you came to Elixir from Ruby, like I did, you have probably been looking for a way to do dependency injection in Elixir. I know I did. I also know it's not that simple and I was never really satisfied with the results. After few years of looking a...

6 min read · [solid-dry-kiss.hashnode.dev](https://solid-dry-kiss.hashnode.dev/purity-injection-in-elixir?utm_source=hashnode&utm_medium=feed)

[Oct 25, 2022](https://hashnode.com/posts/purity-injection-in-elixir/6357be696a6e22407f8e4dfa)

### [ActiveRecord, over-optimization and POLS](https://solid-dry-kiss.hashnode.dev/activerecord-over-optimization-and-pols?utm_source=hashnode&utm_medium=feed)

I recently learned that ActiveRecord implements an "interesting" optimization. When you pass a condition to where that could not ever be satisfied, mostly by passing an empty array, it skips the database call completely, returning empty result set. A...

4 min read · [solid-dry-kiss.hashnode.dev](https://solid-dry-kiss.hashnode.dev/activerecord-over-optimization-and-pols?utm_source=hashnode&utm_medium=feed)

[Jul 28, 2022](https://hashnode.com/posts/activerecord-over-optimization-and-pols/62e26b4cd7b405bea15575fe)
