News for hackers. Stuff that matters.
Re:The power of Result types in Swift by singularity2001 on Monday June 18, 2018 @05:01AM (#17336774)
>> if you have pipes/filters, you stay free of error handling: when a filter doesn't have a result, it just doesn't pass any data to the next filter in line.

That is an important root insight. It also applies to for loops, and could apply to switch statements

switch result { case something: break case none: error: empty: default: //? }

There are no comments on this comment yet.