News for hackers. Stuff that matters.
Re:Records Come to Java by wvenable on Thursday January 16, 2020 @08:02PM (#22070837)
Nullable/Non-nullable reference types in C# 8.0 having nothing to do with Nullable<T> and aren't even implemented using it.

C# 8.0 implementation of something like Optional<T> for reference types uses static flow analysis to ensure correct use of potentially null values. That's vastly superior in every way to Optional<T>.

[dead]
Re:Records Come to Java by wvenable on Friday January 17, 2020 @12:29AM (#22072152)
Yes, because it's checked by the compiler using normal constructs.

    someNullableInstance.DoSomething();  // compiler error
    if (someNullableInstance != null) 
        someNullableInstance.DoSomething();  // not an error
Option<T> is fine but it's a lot of syntax to use correctly.