Isn't this a typedef? I guess the extra field makes it a runtime check, not just compile time. But still.
this post was submitted on 13 Feb 2025
3 points (100.0% liked)
Lobste.rs
110 readers
24 users here now
RSS Feed of lobste.rs
founded 4 months ago
MODERATORS
Ohh look, someone rediscovered the Value Object pattern.