News for hackers. Stuff that matters.
Re:Show HN: C# 6.0 Functional Language Extensions by jpatte on Wednesday November 19, 2014 @05:32PM (#8633116)
> For any nullable, I can use a nullableVar.DefaultTo(defaultValue) to convert it to a non-nullable primitive type.

What would be the difference with "nullableVar ?? defaultValue" ?

Re:Show HN: C# 6.0 Functional Language Extensions by steego on Friday November 21, 2014 @03:49PM (#8643302)
Good point. I originally wrote it for VB.NET, though IF(nullableVar,defaultValue) would be better now...