News for hackers. Stuff that matters.
Re:Don't Use Booleans by hardwaresofton on Tuesday July 09, 2024 @06:45AM (#40914532)
This is a good point -- Option<T>is much better in a fn signature for comprehension. This probably clinches it.

Funnily enough, Java 1.8 is what really made me start taking Haskell and languages with better type systems more seriously -- seeing that Option actually deserved to be basically everywhere broke my frame.

There are no comments on this comment yet.