Make Invalid Domain States Hard to Represent with Kotlin and Arrow
Using value classes, context parameters and typed errors to build a small functional domain model

Search for a command to run...
Articles tagged with #kotlin
Using value classes, context parameters and typed errors to build a small functional domain model

Keep everyday tests fast and dependable while running strict live integration tests only when you choose

Part 2: Add transaction pooling to the benchmark app, avoid prepared-statement traps, and see where connection pooling earns its keep

Part 1: Build a production-style Kotlin testbed with hexagonal architecture, PostgreSQL, Testcontainers, and a repeatable concurrency benchmark

Turn your coding standards into checks that both developers and AI agents must pass

Sometimes you need to start several pieces of work at the same time and handle each result as soon as it is available. The fan-in pattern is a good fit for this: many concurrent producers send their r
