3 ms·
> When you go with a strongly typed functional programming language, you throw exceptions away, and the fact that something can error, and what kinds of errors
by wiseowise 10mo ago
> When you go with a strongly typed functional programming language, you throw exceptions away, and the fact that something can error, and what kinds of errors it can produce, are encoded into the type system.
You’ve just reinvented checked exceptions, good job.
- siwatanejo 10mo agoReturn type DUs are so much better than checked exceptions.