« * K @twnsnd.com

Ryan Townsend @twnsnd.com

2026-10-27 19:02 UTC

I prefer to avoid booleans unless they are read-only and generated from other data. Enums being better is a hill I would die on. So often you end up needing a 3rd+ state, e.g. "publication_status" (draft/published/archived) vs "is_published" and "is_archived"

A reply in a thread.

8 likes, 0 reposts, 2 replies

3 Next post4 More from @twnsnd.comBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup