News for hackers. Stuff that matters.
Re:Show HN: C# 6.0 Functional Language Extensions by hjnilsson on Thursday November 20, 2014 @04:37AM (#8634990)
I feel like throwing a NullReferenceException would be the more appropriate way to deal with it. Either treat Some(null) as a valid value, or treat it as an error. Silently coercing it will lead to problems down the line, like with the Some(Some(null)) case mentioned.
Re:Show HN: C# 6.0 Functional Language Extensions by louthy on Thursday November 20, 2014 @07:23AM (#8635380)
I'm definitely starting to lean that way. Thanks for the feedback.