Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #23181

L

lukasschwab.me • blog

Personal blog · lukasschwab.me/blog/genprogramming

lukasschwab.me • blog is a personal blog at lukasschwab.me about programming. Since 2024, 3 different Hacker News readers have linked it 6 times. It is still writing: the last post was on 2026-10-02, and you can follow it by feed.

Visit the blog
6mentions?
3HN people?
2024–2026first – last linked?
Links on Hacker News per year · peak 3 in 2025

Too few sampled comments (1) to say how often HN recommends it.?

Why HN links it

HN readers link this blog for a Go technique called "Safety Through Incompatibility", which uses typed IDs so wrong kinds of IDs can't be passed around. The linked posts cover deriving safe ID types in Go.

Summarised by Claude from a sample of 1 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

What Hacker News says?

  1. My friend Lukas has written about this before in more detail, and describes the general technique as "Safety Through Incompatibility". I use this approach in all of my golang codebases now and find it invaluable — it makes it really easy to do the right thing and really hard to accidentally pass the wrong kinds of IDs around. https://lukasschwab.me/blog/gen/deriving-safe-id-types-in-go... https://lukasschwab.me/blog…

    Comment linking /blog/gen/safe-incompatibility.html

    on “Use Your Type System”
  2. Submitted Three-Step Lifted Interfaces as a story · 4 points

    HN discussion
  3. Submitted Poisoning a Go Cache as a story · 3 points

    HN discussion
  4. Submitted Show HN: Explore your own Spotify history as a story · 1 points

    HN discussion
  5. Submitted Bring Your Own Linter (Go) as a story · 1 points

    HN discussion

Search all of HN for lukasschwab.me