Single-case discriminated unions are a great way to avoid primitive obsession. 💡 Primitive obsession is an anti-pattern where primitive types are used too much in places where a custom type would be a better fit. By using custom types or wrapper ty...

Markdown supported · ⌘↵ to post
Andrés G. Aragoneses
You lost me here. What is the
inkeyword and where can I learn more?