Tags / identifiers

Posts tagged “identifiers”

3 articles.

Safety First, with Kotlin's Inline Classes

Safety First, with Kotlin's Inline Classes

How Kotlin's inline (value) classes enforce type-safe domain identifiers at compile time, with zero runtime overhead compared to wrapper objects.

Oct 28, 2024 4 min read
Ditch Auto-Increment PKs: Distributed Databases with UUIDs

Ditch Auto-Increment PKs: Distributed Databases with UUIDs

Why migrating from auto-increment primary keys to UUIDs is essential for distributed systems, and a practical guide to making the transition.

Aug 27, 2024 6 min read
Predictably Unique: Deterministic UUIDs (v3 & v5)

Predictably Unique: Deterministic UUIDs (v3 & v5)

A deep dive into UUID versions 3 and 5: deterministic, name-spaced identifiers that ensure consistency across migrations and integrations.

Aug 10, 2024 4 min read