Y
Hacker News
new
|
ask
|
show
|
jobs
by
whateveracct
2193 days ago
A language with sun types will express Result as Success XOR Failure. And then to access the Success, the compiler will force you to go through a switch statement that handles each case.